Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
PlayerAnimationEvent Class Reference
Inheritance diagram for PlayerAnimationEvent:
[legend]
Collaboration diagram for PlayerAnimationEvent:
[legend]

Public Member Functions

 __construct (Player $player, $animation=self::ARM_SWING)
 
 getAnimationType ()
 
- Public Member Functions inherited from PlayerEvent
 getPlayer ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Data Fields

const ARM_SWING = 1
 
const WAKE_UP = 3
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from PlayerEvent
 $player
 
- Protected Attributes inherited from Event
 $eventName = null
 

Detailed Description

Called when a player does an animation

Constructor & Destructor Documentation

__construct ( Player  $player,
  $animation = self::ARM_SWING 
)
Parameters
Player$player
int$animation

Member Function Documentation

getAnimationType ( )
Returns
int

The documentation for this class was generated from the following file: