Packageorg.wak.scene
Interfacepublic interface IActionSpotDefinition
ImplementorsXMLActionSpotDefinition



Public Properties
 PropertyDefined by
  defaultAction : String
[read-only] Action id as default
IActionSpotDefinition
  description : String
[read-only] Description of the action spot area.
IActionSpotDefinition
  enabled : Boolean
[read-only]
IActionSpotDefinition
  id : String
[read-only] Id of the action area.
IActionSpotDefinition
  interactionBehaviour : String
[read-only] animation behaviour to set to the player's character display after walked to the interaction point.
IActionSpotDefinition
  interactionPoint : IntPoint
[read-only] Usually the player's character should walk to the item to interact with it.
IActionSpotDefinition
  name : String
[read-only] Name of the action spot area
IActionSpotDefinition
  position : IntPoint
[read-only] the position of the gatespot on the scene
IActionSpotDefinition
  shape : Array
[read-only] Array of points to define the action spot shape.
IActionSpotDefinition
  visible : Boolean
[read-only] For debuging or setting the scene, the ActionSpot's area will be visible.
IActionSpotDefinition
Property detail
defaultActionproperty
defaultAction:String  [read-only]

Action id as default

Implementation
    public function get defaultAction():String
descriptionproperty 
description:String  [read-only]

Description of the action spot area.

Implementation
    public function get description():String
enabledproperty 
enabled:Boolean  [read-only]Implementation
    public function get enabled():Boolean
idproperty 
id:String  [read-only]

Id of the action area.

Implementation
    public function get id():String
interactionBehaviourproperty 
interactionBehaviour:String  [read-only]

animation behaviour to set to the player's character display after walked to the interaction point.

Implementation
    public function get interactionBehaviour():String
interactionPointproperty 
interactionPoint:IntPoint  [read-only]

Usually the player's character should walk to the item to interact with it. Well this is the point where the player will walk before interact with this item in some way.

Implementation
    public function get interactionPoint():IntPoint
nameproperty 
name:String  [read-only]

Name of the action spot area

Implementation
    public function get name():String
positionproperty 
position:IntPoint  [read-only]

the position of the gatespot on the scene

Implementation
    public function get position():IntPoint
shapeproperty 
shape:Array  [read-only]

Array of points to define the action spot shape.

Implementation
    public function get shape():Array
visibleproperty 
visible:Boolean  [read-only]

For debuging or setting the scene, the ActionSpot's area will be visible.

Implementation
    public function get visible():Boolean