Packagecom.whirled.contrib.platformer.game
Classpublic class ActorController
InheritanceActorController Inheritance DynamicController
ImplementsAttackController, ShootableController



Protected Properties
 PropertyDefined by
  _actor : Actor
ActorController
 Inherited_chandlers : Array
DynamicController
 Inherited_controller : GameController
DynamicController
 Inherited_dynamic : Dynamic
DynamicController
 Inherited_removedCollider : Boolean
DynamicController
 Inherited_task : ColliderTask
DynamicController
Public Methods
 MethodDefined by
  
ActorController
 Inherited
DynamicController
  
canAttack():Boolean
ActorController
  
doAttack(target:ShootableController, doesHit:Boolean):void
ActorController
  
doesCollide():Boolean
ActorController
  
doesHit(x:Number, y:Number, source:Object = null):Collision
ActorController
  
doHit(damage:Number, owner:int, inter:int, sowner:int):void
ActorController
  
ActorController
  
getCenterX():Number
ActorController
  
getCenterY():Number
ActorController
 Inherited
DynamicController
 Inherited
DynamicController
  
ActorController
  
getSourceX():Number
ActorController
 Inherited
DynamicController
 Inherited
hasBounds():Boolean
DynamicController
  
inAttack(o:Object):Boolean
ActorController
 Inherited
postCollider():void
DynamicController
  
postTick():void
ActorController
 Inherited
shutdown():void
DynamicController
  
startAttack():void
ActorController
 Inherited
tick(delta:Number):void
DynamicController
Protected Methods
 MethodDefined by
 Inherited
DynamicController
 Inherited
DynamicController
Property detail
_actorproperty
protected var _actor:Actor
Constructor detail
ActorController()constructor
public function ActorController(actor:Actor, controller:GameController)Parameters
actor:Actor
 
controller:GameController
Method detail
canAttack()method
public function canAttack():Boolean

Returns
Boolean
doAttack()method 
public function doAttack(target:ShootableController, doesHit:Boolean):voidParameters
target:ShootableController
 
doesHit:Boolean
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
getActor()method 
public function getActor():Actor

Returns
Actor
getCenterX()method 
public function getCenterX():Number

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

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

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

Returns
Number
inAttack()method 
public function inAttack(o:Object):BooleanParameters
o:Object

Returns
Boolean
postTick()method 
public override function postTick():void
startAttack()method 
public function startAttack():void