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

Public Member Functions

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

Package Functions

 TreeSprite (Tree tree)
 

Detailed Description

The graphical representation of a Tree.

Author
BU673 - Clone Industries

Definition at line 14 of file TreeSprite.java.

Constructor & Destructor Documentation

bubolo.graphics.TreeSprite.TreeSprite ( Tree  tree)
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).

Parameters
treeReference to the Tree that this TreeSprite represents.

Definition at line 26 of file TreeSprite.java.

References bubolo.graphics.DrawLayer.OBJECTS.

Member Function Documentation

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

Definition at line 34 of file TreeSprite.java.