PocketMine
EntityShootBowEvent Class Reference
Inheritance diagram for EntityShootBowEvent:
EntityEvent Cancellable Event

Public Member Functions

 __construct (Living $shooter, Item $bow, Projectile $projectile, $force)
 
 getEntity ()
 
 getBow ()
 
 getProjectile ()
 
 setProjectile (Entity $projectile)
 
 getForce ()
 
 setForce ($force)
 
- Public Member Functions inherited from EntityEvent
 getEntity ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($value=true)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from EntityEvent
 $entity
 
- Protected Attributes inherited from Event
 $eventName = null
 

Constructor & Destructor Documentation

__construct ( Living  $shooter,
Item  $bow,
Projectile  $projectile,
  $force 
)
Parameters
Living$shooter
Item$bow
Projectile$projectile
float$force

Member Function Documentation

getBow ( )
Returns
Item
getEntity ( )
Returns
Living
getForce ( )
Returns
float
getProjectile ( )
Returns
Entity
setForce (   $force)
Parameters
float$force
setProjectile ( Entity  $projectile)
Parameters
Entity$projectile

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