infinitewisdom.model
Interface UnitIF

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ServerUnitIF
All Known Implementing Classes:
Archer, ServerUnitIFAdapter, Swordsman

public interface UnitIF
extends java.io.Serializable

Read-only interface of Units.


Method Summary
 double getAttackPoints()
           
 double getAttackRange()
           
 int getCoolDown()
           
 GameWorld getGameWorld()
           
 double getHitPoints()
           
 long getId()
           
 PlayerIF getPlayer()
           
 Vec2f getPosition()
           
 double getShield()
           
 double getSize()
           
 double getSpeed()
           
 UnitStateE getState()
           
 java.lang.String toString()
           
 

Method Detail

getId

long getId()

getGameWorld

GameWorld getGameWorld()

getPlayer

PlayerIF getPlayer()

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSize

double getSize()

getPosition

Vec2f getPosition()

getHitPoints

double getHitPoints()

getAttackPoints

double getAttackPoints()

getAttackRange

double getAttackRange()

getSpeed

double getSpeed()

getShield

double getShield()

getState

UnitStateE getState()

getCoolDown

int getCoolDown()