Name | Type | Description |
---|---|---|
game |
Core.Game | the game object |
width |
Number | width of the sprite. |
height |
Number | height of the sprite. |
url |
String | the URL of the sprite graphic |
Members
-
height
-
width
Methods
-
renders the sprite
-
gets the resource URL from asset manager by itself. (assumes default path)
Name Type Description asset
String asset file name