-
Notifications
You must be signed in to change notification settings - Fork 2
RenderableSprite
Isuru Kusumal Rajapakse edited this page Jun 18, 2017
·
1 revision
- Represents a component that defines renderable behaviour of a sprite
Void
renders the sprite on the given canvas, and if a camera is provided, then as seen from given camera
| Name | Type | Description | |
|---|---|---|---|
| c | context |
- the canvas context to draw the sprite on. | |
| camera | Camera |
- the camera to look at the sprite from. |
Void