Packagecom.whirled.contrib.platformer.game
Classpublic class DestructableGateController
InheritanceDestructableGateController Inheritance GateController Inheritance RectDynamicController Inheritance DynamicController
ImplementsShootableController



Protected Properties
 PropertyDefined by
 Inherited_chandlers : Array
DynamicController
 Inherited_controller : GameController
DynamicController
  _dg : DestructableGate
DestructableGateController
 Inherited_dynamic : Dynamic
DynamicController
 Inherited_removedCollider : Boolean
DynamicController
 Inherited_task : ColliderTask
DynamicController
Public Methods
 MethodDefined by
  
DestructableGateController
 Inherited
DynamicController
  
doesCollide():Boolean
DestructableGateController
  
doesHit(x:Number, y:Number, source:Object = null):Collision
DestructableGateController
  
doHit(damage:Number, owner:int, inter:int, sowner:int):void
DestructableGateController
  
getCenterX():Number
DestructableGateController
  
getCenterY():Number
DestructableGateController
 Inherited
DynamicController
 Inherited
DynamicController
  
DestructableGateController
 Inherited
DynamicController
 Inherited
hasBounds():Boolean
DynamicController
 Inherited
isWalkable():Boolean
GateController
 Inherited
postCollider():void
DynamicController
  
postTick():void
DestructableGateController
 Inherited
shutdown():void
DynamicController
  
tick(delta:Number):void
DestructableGateController
Protected Methods
 MethodDefined by
 Inherited
DynamicController
 Inherited
DynamicController
Property detail
_dgproperty
protected var _dg:DestructableGate
Constructor detail
DestructableGateController()constructor
public function DestructableGateController(dg:DestructableGate, controller:GameController)Parameters
dg:DestructableGate
 
controller:GameController
Method detail
doesCollide()method
public function doesCollide():Boolean

Returns
Boolean
doesHit()method 
public function doesHit(x:Number, y:Number, source:Object = null):CollisionParameters
x:Number
 
y:Number
 
source:Object (default = null)

Returns
Collision
doHit()method 
public function doHit(damage:Number, owner:int, inter:int, sowner:int):voidParameters
damage:Number
 
owner:int
 
inter:int
 
sowner:int
getCenterX()method 
public function getCenterX():Number

Returns
Number
getCenterY()method 
public function getCenterY():Number

Returns
Number
getLastDamager()method 
public function getLastDamager():int

Returns
int
postTick()method 
public override function postTick():void
tick()method 
public override function tick(delta:Number):voidParameters
delta:Number