AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Name

    this

  • Examples

    Item: item

    Player: {
    item: "property"

    Event: Game-Start {
    // 3 different examples which all gives the item object to the player

    giveItem(item);
    this.giveItem(item);
    item.moveTo(this)

    print(item)
    // Outputs "item"

    print(this.item)
    // Outputs "property"
    }
    }
  • Description

    Refers to the parent object of the event object. this can be used to parse this object to a function or method, or to access properties and methods of this object, though this is usually not necessary.
  • Syntax

    • this.property
    • this.method()
    • object.method(this)
    • function(this)

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen