org.pilotix.common
Class PilotixElement

java.lang.Object
  extended by 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

Field Summary
protected  int id
           
protected  Vector position
           
protected  int states
           
 
Constructor Summary
PilotixElement()
           
PilotixElement(int id, int states, Vector position)
           
 
Method Summary
 int getId()
           
 Vector getPosition()
           
 int getStates()
           
 void setStates(int state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

states

protected int states

position

protected Vector position
Constructor Detail

PilotixElement

public PilotixElement()

PilotixElement

public PilotixElement(int id,
                      int states,
                      Vector position)
Method Detail

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.


artefarita.com/pilotix Pilotix 2003-2013 - Stilisto : G.C.