com.cliffblaster.game.api.event
Class PlayerEventListener

java.lang.Object
  extended by com.cliffblaster.game.api.event.EventListener
      extended by com.cliffblaster.game.api.event.PlayerEventListener

public abstract class PlayerEventListener
extends EventListener


Constructor Summary
PlayerEventListener()
           
 
Method Summary
 void handle(Event evt)
           
 void onPlayerChatted(PlayerChatEvent playerChatEvent)
           
 void onPlayerCheated(PlayerCheatEvent playerJoinEvent)
           
 void onPlayerConnected(PlayerConnectEvent playerConnectEvent)
           
 void onPlayerDisconnected(PlayerDisconnectEvent playerDisconnectEvent)
           
 void onPlayerJoined(PlayerJoinEvent playerJoinEvent)
           
 void onPlayerPosition(PlayerPositionEvent playerPositionEvent)
           
 void onPlayerSpawn(PlayerSpawnEvent playerSpawnEvent)
           
 void onPlayerTeleport(PlayerTeleportEvent playerTeleportEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerEventListener

public PlayerEventListener()
Method Detail

onPlayerChatted

public void onPlayerChatted(PlayerChatEvent playerChatEvent)

onPlayerConnected

public void onPlayerConnected(PlayerConnectEvent playerConnectEvent)

onPlayerDisconnected

public void onPlayerDisconnected(PlayerDisconnectEvent playerDisconnectEvent)

onPlayerJoined

public void onPlayerJoined(PlayerJoinEvent playerJoinEvent)

onPlayerCheated

public void onPlayerCheated(PlayerCheatEvent playerJoinEvent)

onPlayerPosition

public void onPlayerPosition(PlayerPositionEvent playerPositionEvent)

onPlayerTeleport

public void onPlayerTeleport(PlayerTeleportEvent playerTeleportEvent)

onPlayerSpawn

public void onPlayerSpawn(PlayerSpawnEvent playerSpawnEvent)

handle

public final void handle(Event evt)
Specified by:
handle in class EventListener