SimpleIsoAnimation

SimpleIsoAnimation

A CanvasAnimation designated for isometric scenes.


Constructor

new SimpleIsoAnimation(source, canvasObject, fromRect, x, y, width, height)

Parameters:
Name Type Description
source Image
canvasObject CanvasObject
fromRect Rectangle
x Number
y Number
width Number
height Number

Members

_currentValue

constructor

Methods

getAnimationValue() → {Array}

The map value of the current animation, with map values being [y,x] index arrays.

Returns:
Type
Array