PocketMine
SpawnChangeEvent Class Reference
Inheritance diagram for SpawnChangeEvent:
LevelEvent Event

Public Member Functions

 __construct (Level $level, Position $previousSpawn)
 
 getPreviousSpawn ()
 
- Public Member Functions inherited from LevelEvent
 __construct (Level $level)
 
 getLevel ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from Event
 $eventName = null
 

Detailed Description

An event that is called when a level spawn changes. The previous spawn is included

Constructor & Destructor Documentation

__construct ( Level  $level,
Position  $previousSpawn 
)
Parameters
Level$level
Position$previousSpawn

Member Function Documentation

getPreviousSpawn ( )
Returns
Position

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