org.eviline
Class PlayerAction

java.lang.Object
  extended by org.eviline.PlayerAction

public class PlayerAction
extends Object


Nested Class Summary
static class PlayerAction.NodeMap<V>
           
 
Constructor Summary
PlayerAction(EvilineEvent e)
           
PlayerAction(Field field, PlayerActionType type)
           
PlayerAction(Field field, PlayerActionType type, boolean reverse)
           
PlayerAction(Field start, PlayerActionType type, Field end)
           
 
Method Summary
 boolean equals(Object obj)
           
 Field getEndField()
           
 PlayerActionNode getEndNode()
           
 Shape getEndShape()
           
 int getEndX()
           
 int getEndY()
           
 Field getStartField()
           
 PlayerActionNode getStartNode()
           
 Shape getStartShape()
           
 int getStartX()
           
 int getStartY()
           
 long getTimestamp()
           
 PlayerActionType getType()
           
 int hashCode()
           
 boolean isPossible()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlayerAction

public PlayerAction(Field field,
                    PlayerActionType type)

PlayerAction

public PlayerAction(Field field,
                    PlayerActionType type,
                    boolean reverse)

PlayerAction

public PlayerAction(Field start,
                    PlayerActionType type,
                    Field end)

PlayerAction

public PlayerAction(EvilineEvent e)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getStartField

public Field getStartField()

getEndField

public Field getEndField()

getType

public PlayerActionType getType()

getStartShape

public Shape getStartShape()

getEndShape

public Shape getEndShape()

getStartX

public int getStartX()

getStartY

public int getStartY()

getEndX

public int getEndX()

getEndY

public int getEndY()

isPossible

public boolean isPossible()

toString

public String toString()
Overrides:
toString in class Object

getStartNode

public PlayerActionNode getStartNode()

getEndNode

public PlayerActionNode getEndNode()

getTimestamp

public long getTimestamp()


Copyright © 2013. All Rights Reserved.