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