jaige.event
Class MoveEvent

java.lang.Object
  extended by jaige.event.GameEvent
      extended by jaige.event.MoveEvent

public class MoveEvent
extends GameEvent


Constructor Summary
MoveEvent(Player p, int... moves)
           
 
Method Summary
 int[] get()
           
 int get(int index)
           
 Player getPlayer()
           
 int getX()
           
 int getY()
           
 java.lang.String toString()
           
 
Methods inherited from class jaige.event.GameEvent
getEventID, getEventType, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoveEvent

public MoveEvent(Player p,
                 int... moves)
Method Detail

getX

public int getX()

getY

public int getY()

get

public int get(int index)

get

public int[] get()

getPlayer

public Player getPlayer()

toString

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