org.pilotix.common
Class PilotixElement
java.lang.Object
org.pilotix.common.PilotixElement
- Direct Known Subclasses:
- Ball, Ship
public abstract class PilotixElement
- extends java.lang.Object
Cette classe est la classe parente de toutes les classes qui définissent des
objets physiques du jeu.
- Author:
- Florent Sithimolada
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected int id
states
protected int states
position
protected Vector position
PilotixElement
public PilotixElement()
PilotixElement
public PilotixElement(int id,
int states,
Vector position)
getId
public int getId()
getPosition
public Vector getPosition()
setStates
public void setStates(int state)
- Parameters:
state
- The state to set.
getStates
public int getStates()
- Returns:
- Returns the state.
Pilotix 2003-2013 - Stilisto : G.C.