org.eviline.event
Class EvilineAdapter

java.lang.Object
  extended by org.eviline.event.EvilineAdapter
All Implemented Interfaces:
Serializable, EventListener, EvilineListener

public abstract class EvilineAdapter
extends Object
implements EvilineListener, Serializable

Abstract implementation of EvilineListener

Author:
robin
See Also:
Serialized Form

Constructor Summary
EvilineAdapter()
           
 
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)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvilineAdapter

public EvilineAdapter()
Method Detail

shapeSpawned

public void shapeSpawned(EvilineEvent e)
Specified by:
shapeSpawned in interface EvilineListener

clockTicked

public void clockTicked(EvilineEvent e)
Description copied from interface: EvilineListener
A clock tick occurred

Specified by:
clockTicked in interface EvilineListener

shapeLocked

public void shapeLocked(EvilineEvent e)
Specified by:
shapeLocked in interface EvilineListener

gameOver

public void gameOver(EvilineEvent e)
Description copied from interface: EvilineListener
A game over occurred

Specified by:
gameOver in interface EvilineListener

shiftedLeft

public void shiftedLeft(EvilineEvent e)
Description copied from interface: EvilineListener
The active piece shifted left

Specified by:
shiftedLeft in interface EvilineListener

shiftedRight

public void shiftedRight(EvilineEvent e)
Description copied from interface: EvilineListener
The active piece shifted right

Specified by:
shiftedRight in interface EvilineListener

rotatedLeft

public void rotatedLeft(EvilineEvent e)
Description copied from interface: EvilineListener
The active piece rotated left

Specified by:
rotatedLeft in interface EvilineListener

rotatedRight

public void rotatedRight(EvilineEvent e)
Description copied from interface: EvilineListener
The active piece rotated right

Specified by:
rotatedRight in interface EvilineListener

gameReset

public void gameReset(EvilineEvent e)
Description copied from interface: EvilineListener
The game was reset

Specified by:
gameReset in interface EvilineListener

gamePaused

public void gamePaused(EvilineEvent e)
Description copied from interface: EvilineListener
The game was paused or unpaused

Specified by:
gamePaused in interface EvilineListener

linesCleared

public void linesCleared(EvilineEvent e)
Description copied from interface: EvilineListener
A line was cleared

Specified by:
linesCleared in interface EvilineListener

garbageReceived

public void garbageReceived(EvilineEvent e)
Specified by:
garbageReceived in interface EvilineListener

hardDropped

public void hardDropped(EvilineEvent e)
Specified by:
hardDropped in interface EvilineListener


Copyright © 2013. All Rights Reserved.