Public Member Functions | |
| void | draw (SpriteBatch batch, Camera camera, DrawLayer layer) |
Package Functions | |
| TreeSprite (Tree tree) | |
The graphical representation of a Tree.
Definition at line 14 of file TreeSprite.java.
|
package |
Constructor for the TreeSprite. This is Package-private because sprites should not be directly created outside of the graphics system (instead, call the Sprite.create(entity) static method).
| tree | Reference to the Tree that this TreeSprite represents. |
Definition at line 26 of file TreeSprite.java.
References bubolo.graphics.DrawLayer.OBJECTS.
| void bubolo.graphics.TreeSprite.draw | ( | SpriteBatch | batch, |
| Camera | camera, | ||
| DrawLayer | layer | ||
| ) |
Definition at line 34 of file TreeSprite.java.
1.8.6