|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eviline.ai.PlayerMovePath
org.eviline.event.HistoryMovePath
public class HistoryMovePath
Field Summary | |
---|---|
protected List<long[]>[] |
lastPaths
|
protected ShapeType |
lastType
|
Fields inherited from class org.eviline.ai.PlayerMovePath |
---|
intPaths, moves, pathType |
Constructor Summary | |
---|---|
HistoryMovePath()
|
Method Summary | |
---|---|
void |
clockTicked(EvilineEvent e)
A clock tick occurred |
void |
gameOver(EvilineEvent e)
A game over occurred |
void |
gamePaused(EvilineEvent e)
The game was paused or unpaused |
void |
gameReset(EvilineEvent e)
The game was reset |
void |
garbageReceived(EvilineEvent e)
|
List<long[]>[] |
getLastPaths()
|
ShapeType |
getLastType()
|
void |
hardDropped(EvilineEvent e)
|
void |
linesCleared(EvilineEvent e)
A line was cleared |
void |
rotatedLeft(EvilineEvent e)
The active piece rotated left |
void |
rotatedRight(EvilineEvent e)
The active piece rotated right |
void |
shapeLocked(EvilineEvent e)
|
void |
shapeSpawned(EvilineEvent e)
|
void |
shiftedLeft(EvilineEvent e)
The active piece shifted left |
void |
shiftedRight(EvilineEvent e)
The active piece shifted right |
Methods inherited from class org.eviline.ai.PlayerMovePath |
---|
getIntPaths, getMoves, getPathType, repath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<long[]>[] lastPaths
protected ShapeType lastType
Constructor Detail |
---|
public HistoryMovePath()
Method Detail |
---|
public void shapeSpawned(EvilineEvent e)
shapeSpawned
in interface EvilineListener
public void clockTicked(EvilineEvent e)
EvilineListener
clockTicked
in interface EvilineListener
public void shapeLocked(EvilineEvent e)
shapeLocked
in interface EvilineListener
public void gameOver(EvilineEvent e)
EvilineListener
gameOver
in interface EvilineListener
public void shiftedLeft(EvilineEvent e)
EvilineListener
shiftedLeft
in interface EvilineListener
public void shiftedRight(EvilineEvent e)
EvilineListener
shiftedRight
in interface EvilineListener
public void rotatedLeft(EvilineEvent e)
EvilineListener
rotatedLeft
in interface EvilineListener
public void rotatedRight(EvilineEvent e)
EvilineListener
rotatedRight
in interface EvilineListener
public void gameReset(EvilineEvent e)
EvilineListener
gameReset
in interface EvilineListener
public void gamePaused(EvilineEvent e)
EvilineListener
gamePaused
in interface EvilineListener
public void linesCleared(EvilineEvent e)
EvilineListener
linesCleared
in interface EvilineListener
public void garbageReceived(EvilineEvent e)
garbageReceived
in interface EvilineListener
public void hardDropped(EvilineEvent e)
hardDropped
in interface EvilineListener
public List<long[]>[] getLastPaths()
public ShapeType getLastType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |