com.cliffblaster.game.api.event
Class ServerTickEvent

java.lang.Object
  extended by com.cliffblaster.game.api.event.Event
      extended by com.cliffblaster.game.api.event.ServerEvent
          extended by com.cliffblaster.game.api.event.ServerTickEvent

public class ServerTickEvent
extends ServerEvent


Nested Class Summary
 
Nested classes/interfaces inherited from class com.cliffblaster.game.api.event.Event
Event.Priority, Event.Type
 
Field Summary
 
Fields inherited from class com.cliffblaster.game.api.event.Event
evtType
 
Constructor Summary
ServerTickEvent()
           
 
Method Summary
 void cancel()
          Deprecated. Do not use. Throws RuntimeException as such events can not to be cancelled.
 
Methods inherited from class com.cliffblaster.game.api.event.Event
getType, isCancelled, unCancel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerTickEvent

public ServerTickEvent()
Method Detail

cancel

@Deprecated
public final void cancel()
Deprecated. Do not use. Throws RuntimeException as such events can not to be cancelled.

Description copied from class: Event
Sets the event as cancelled. The event will not continue on the server and will be reverted, unless a subsequent plug-in calls Event.unCancel() on the event.

Overrides:
cancel in class Event