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