bubolo
 All Classes Namespaces Functions Variables Enumerator
Public Member Functions | Package Functions | List of all members
bubolo.graphics.TankSprite Class Reference
Inheritance diagram for bubolo.graphics.TankSprite:

Public Member Functions

void draw (SpriteBatch batch, Camera camera, DrawLayer layer)
 

Package Functions

 TankSprite (Tank tank)
 

Detailed Description

The graphical representation of a Tank.

Author
BU CS673 - Clone Productions

Definition at line 13 of file TankSprite.java.

Constructor & Destructor Documentation

bubolo.graphics.TankSprite.TankSprite ( Tank  tank)
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).

Parameters
tankReference to the tank that this TankSprite represents.

Definition at line 26 of file TankSprite.java.

References bubolo.graphics.DrawLayer.TANKS.

Member Function Documentation

void bubolo.graphics.TankSprite.draw ( SpriteBatch  batch,
Camera  camera,
DrawLayer  layer 
)

Definition at line 34 of file TankSprite.java.