Constructor
new SpriteAnimationFrame(imageManager, frameData)
Parameters:
Name | Type | Description |
---|---|---|
imageManager |
The game image manager |
|
frameData |
The frame data used to initialize the frame |
Methods
getPoint(name)
Get a point of the frame.
If the point does not exist, the origin is returned.
Parameters:
Name | Type | Description |
---|---|---|
name |
The point's name |
Returns:
Type | Description |
---|---|
The requested point. If it doesn't exists returns the origin point. |
reinitialize(imageManager, frameData)
Parameters:
Name | Type | Description |
---|---|---|
imageManager |
The game image manager |
|
frameData |
The frame data used to initialize the frame |