GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
PlayerToggleFlightEvent Class Reference

Public Member Functions

 __construct (Player $player, $isFlying)
 
 isFlying ()
 
- 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)
 

Static Public Attributes

static $handlerList = null
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ __construct()

__construct ( Player  $player,
  $isFlying 
)

PlayerToggleFlightEvent constructor.

Parameters
Player$player
$isFlying
39  {
40  $this->player = $player;
41  $this->isFlying = (bool) $isFlying;
42  }

Member Function Documentation

◆ isFlying()

isFlying ( )
Returns
bool
47  {
48  return $this->isFlying;
49  }

Field Documentation

◆ $handlerList

$handlerList = null
static

◆ $isFlying

$isFlying
protected

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