| Package | org.wak.character.display |
| Class | public class SingleBmpCharacterDisplay |
| Inheritance | SingleBmpCharacterDisplay AbstractCharacterDisplay flash.display.Sprite |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor
| SingleBmpCharacterDisplay | ||
![]() |
CurrentTileIsEqual(pTile:IntPoint):Boolean
Method to test if the param pTile is equal to the current tile where the player is.
| AbstractCharacterDisplay | |
![]() |
ResetPosition(pX:Number, pY:Number):void
| AbstractCharacterDisplay | |
![]() |
ResetTilePosition(pX:Number, pY:Number):void
| AbstractCharacterDisplay | |
|
SetAnimBehaviour(pAnimBehaviour:String, pPlays:int = 1, pOnPlayed:Function = null):void
| SingleBmpCharacterDisplay | ||
![]() |
SetCurrentTile(pX:int, pY:int):void
This method is called by the Scene containing this PlayerRenderer
to set the current tile inside the background tile map.
| AbstractCharacterDisplay | |
![]() |
SetInteractionPoint(pX:Number, pY:Number):void
Method to set the interaction point for this Character display.
| AbstractCharacterDisplay | |
![]() |
SetInteractionPointBehaviour(pB:String):void
| AbstractCharacterDisplay | |
![]() |
SetOwner(pOwner:AdventureCharacter):void
| AbstractCharacterDisplay | |
![]() |
StartWalk(pOnCompleteHandler:Function = null):void
| AbstractCharacterDisplay | |
![]() |
StopWalk():void
| AbstractCharacterDisplay | |
|
toString():String
| SingleBmpCharacterDisplay | ||
|
Update(event:Event):void
| SingleBmpCharacterDisplay | ||
![]() |
WalkDestinationReached():void
| AbstractCharacterDisplay | |
| Method | Defined by | ||
|---|---|---|---|
|
OnAddedToStage(event:Event):void
| SingleBmpCharacterDisplay | ||
|
OnAnimPlaysCompleted(event:Event):void
| SingleBmpCharacterDisplay | ||
|
OnRemovedFromStage(event:Event):void
| SingleBmpCharacterDisplay | ||
| currentBehaviour | property |
currentBehaviour:String [read-only]Implementation
public function get currentBehaviour():String
| dialogX | property |
dialogX:Number [read-only]Implementation
public function get dialogX():Number
| dialogY | property |
dialogY:Number [read-only]Implementation
public function get dialogY():Number
| stageX | property |
stageX:Number [read-only]Implementation
public function get stageX():Number
| stageY | property |
stageY:Number [read-only]Implementation
public function get stageY():Number
| SingleBmpCharacterDisplay | () | constructor |
public function SingleBmpCharacterDisplay(pDef:ICharacterDisplayDefinition)Constructor
ParameterspDef:ICharacterDisplayDefinition — ICharacterDisplayDefinition with the data to create the character display.
|
| OnAddedToStage | () | method |
protected override function OnAddedToStage(event:Event):voidParameters
event:Event |
| OnAnimPlaysCompleted | () | method |
protected function OnAnimPlaysCompleted(event:Event):voidParameters
event:Event |
| OnRemovedFromStage | () | method |
protected override function OnRemovedFromStage(event:Event):voidParameters
event:Event |
| SetAnimBehaviour | () | method |
public override function SetAnimBehaviour(pAnimBehaviour:String, pPlays:int = 1, pOnPlayed:Function = null):voidParameters
pAnimBehaviour:String |
|
pPlays:int (default = 1) |
|
pOnPlayed:Function (default = null) |
| toString | () | method |
public override function toString():String
Returns
String |
| Update | () | method |
public override function Update(event:Event):voidParameters
event:Event |