Packageorg.wak.action
Interfacepublic interface IInteractable extends flash.events.IEventDispatcher
SubinterfacesISceneInteractable
ImplementorsInventoryItem

Common interface between interactable objects. for Scene objects and inventory items.



Public Properties
 PropertyDefined by
  defaultAction : String
[read-only] The default action to apply on this Interactable
IInteractable
  description : String
[read-only] The item description
IInteractable
  interactableId : String
[read-only] id of this interactable entity
IInteractable
  interactionName : String
[read-only] A text with the name for gui purposes.
IInteractable
  unitaryUse : Boolean
[read-only] If the item is true for unitary use in the scumm style adventures, the action Use will be ready only when the player try Use with this interactable without wait a second parameter.
IInteractable
Property detail
defaultActionproperty
defaultAction:String  [read-only]

The default action to apply on this Interactable

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

The item description

Implementation
    public function get description():String
interactableIdproperty 
interactableId:String  [read-only]

id of this interactable entity

Implementation
    public function get interactableId():String
interactionNameproperty 
interactionName:String  [read-only]

A text with the name for gui purposes.

Implementation
    public function get interactionName():String
unitaryUseproperty 
unitaryUse:Boolean  [read-only]

If the item is true for unitary use in the scumm style adventures, the action Use will be ready only when the player try Use with this interactable without wait a second parameter.

Implementation
    public function get unitaryUse():Boolean