bubolo
 All Classes Namespaces Functions Variables Enumerator
Public Member Functions | List of all members
bubolo.graphics.Drawable Interface Reference
Inheritance diagram for bubolo.graphics.Drawable:
bubolo.world.entity.Entity bubolo.world.entity.Actor bubolo.world.entity.StationaryEntity bubolo.world.entity.concrete.Tank bubolo.world.entity.Modifier bubolo.world.entity.StationaryElement bubolo.world.entity.Terrain bubolo.world.entity.concrete.Road bubolo.world.entity.concrete.Tree bubolo.world.entity.concrete.Grass

Public Member Functions

float getX ()
 
float getY ()
 
int getWidth ()
 
int getHeight ()
 
float getRotation ()
 

Detailed Description

Drawable objects contain the information necessary to allow them to be drawn by the Graphics system.

Author
BU CS673 - Clone Productions

Definition at line 7 of file Drawable.java.

Member Function Documentation

int bubolo.graphics.Drawable.getHeight ( )

Get the height of this Entity.

Returns
the height of this Entity in world coordinates.

Implemented in bubolo.world.entity.Entity.

float bubolo.graphics.Drawable.getRotation ( )

Get the current rotation of this Entity.

Returns
the rotation of this Entity in radians.

Implemented in bubolo.world.entity.Entity.

int bubolo.graphics.Drawable.getWidth ( )

Get the width of this Entity.

Returns
the height of this Entity in world coordinates.

Implemented in bubolo.world.entity.Entity.

float bubolo.graphics.Drawable.getX ( )

Get the x position of this Entity.

Returns
the entity's x position in world coordinates.

Implemented in bubolo.world.entity.Entity.

float bubolo.graphics.Drawable.getY ( )

Get the y position of this Entity.

Returns
the entity's y position in world coordinates.

Implemented in bubolo.world.entity.Entity.