Packageorg.wak.character.display
Classpublic class TestPlayerDisplay
InheritanceTestPlayerDisplay Inheritance AbstractCharacterDisplay Inheritance flash.display.Sprite

This class is for testing Scene with only a spot representing the character in a Scene.



Public Properties
 PropertyDefined by
 Inheritedbaseline : int
AbstractCharacterDisplay
  currentBehaviour : String
[read-only]
TestPlayerDisplay
 InheritedcurrentTile : IntPoint
AbstractCharacterDisplay
 InheriteddefaultAction : String
AbstractCharacterDisplay
 InheriteddeltaX : Number
Returns the deltaX of the screen coordinates.
AbstractCharacterDisplay
 InheriteddeltaY : Number
Returns the deltaY of the screen coordinates.
AbstractCharacterDisplay
 Inheriteddescription : String
AbstractCharacterDisplay
  dialogX : Number
[read-only]
TestPlayerDisplay
  dialogY : Number
[read-only]
TestPlayerDisplay
 InheriteddisplayObject : DisplayObject
AbstractCharacterDisplay
 Inheritedenabled : Boolean
AbstractCharacterDisplay
 InheritedinteractableId : String
AbstractCharacterDisplay
 InheritedinteractionBehaviour : String
AbstractCharacterDisplay
 InheritedinteractionName : String
AbstractCharacterDisplay
 InheritedinteractionPointX : Number
AbstractCharacterDisplay
 InheritedinteractionPointY : Number
AbstractCharacterDisplay
 InheritedisMoving : Boolean
Getter to know if the player is moving through the scene.
AbstractCharacterDisplay
 InheritedmoveSpeed : Number
AbstractCharacterDisplay
 InheritedperspectiveEnabled : Boolean
AbstractCharacterDisplay
 InheritedpfGoal : IntPoint
AbstractCharacterDisplay
 InheritedpfStart : IntPoint
AbstractCharacterDisplay
 Inheritedportrait : MovieClip
Portrait display object of this CharacterDisplay
AbstractCharacterDisplay
 InheritedsceneId : String
AbstractCharacterDisplay
  stageX : Number
[read-only]
TestPlayerDisplay
  stageY : Number
[read-only]
TestPlayerDisplay
 InheritedunitaryUse : Boolean
AbstractCharacterDisplay
 InheritedwalkIndex : int
AbstractCharacterDisplay
 InheritedwalkPoints : Array
AbstractCharacterDisplay
Protected Properties
 PropertyDefined by
 InheritedmCurrentTile : IntPoint
AbstractCharacterDisplay
 InheritedmDisplayId : String = ""
AbstractCharacterDisplay
 InheritedmEnabled : Boolean = true
AbstractCharacterDisplay
 InheritedmIsMoving : Boolean
AbstractCharacterDisplay
 InheritedmMoveSpeed : Number = 90
AbstractCharacterDisplay
 InheritedmMovingAngle : Number = 0
AbstractCharacterDisplay
 InheritedmMovingTilesAngle : Number = 0
AbstractCharacterDisplay
 InheritedmPortrait : MovieClip = null
AbstractCharacterDisplay
 InheritedmPrevTile : IntPoint
AbstractCharacterDisplay
 InheritedmUpdatePerspective : Boolean = true
AbstractCharacterDisplay
Public Methods
 MethodDefined by
  
Constructor
TestPlayerDisplay
 Inherited
Method to test if the param pTile is equal to the current tile where the player is.
AbstractCharacterDisplay
 Inherited
ResetPosition(pX:Number, pY:Number):void
AbstractCharacterDisplay
 Inherited
ResetTilePosition(pX:Number, pY:Number):void
AbstractCharacterDisplay
  
SetAnimBehaviour(pAnimBehaviour:String, pPlays:int = 1, pOnPlayed:Function = null):void
TestPlayerDisplay
 Inherited
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
 Inherited
SetInteractionPoint(pX:Number, pY:Number):void
Method to set the interaction point for this Character display.
AbstractCharacterDisplay
 Inherited
AbstractCharacterDisplay
 Inherited
AbstractCharacterDisplay
 Inherited
StartWalk(pOnCompleteHandler:Function = null):void
AbstractCharacterDisplay
 Inherited
StopWalk():void
AbstractCharacterDisplay
  
toString():String
TestPlayerDisplay
 Inherited
Update(event:Event):void
Handler of the ENTER_FRAME event.
AbstractCharacterDisplay
 Inherited
AbstractCharacterDisplay
Protected Methods
 MethodDefined by
 Inherited
OnAddedToStage(event:Event):void
Handler of the ADDED_TO_STAGE event.
AbstractCharacterDisplay
 Inherited
OnRemovedFromStage(event:Event):void
Handler of the REMOVED_FROM_STAGE event.
AbstractCharacterDisplay
Property detail
currentBehaviourproperty
currentBehaviour:String  [read-only]Implementation
    public function get currentBehaviour():String
dialogXproperty 
dialogX:Number  [read-only]Implementation
    public function get dialogX():Number
dialogYproperty 
dialogY:Number  [read-only]Implementation
    public function get dialogY():Number
stageXproperty 
stageX:Number  [read-only]Implementation
    public function get stageX():Number
stageYproperty 
stageY:Number  [read-only]Implementation
    public function get stageY():Number
Constructor detail
TestPlayerDisplay()constructor
public function TestPlayerDisplay(pDef:ICharacterDisplayDefinition)

Constructor

Parameters
pDef:ICharacterDisplayDefinition — ICharacterDisplayDefinition with the data to create the character display.
Method detail
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