Pre-release
AdventureJS Docs Downloads
Score: 0 Moves: 0

Class:Reactor

Defined in: adventure/Reactor.js, line 6

Framework class

Reactor contains utility methods for the event system. Reactor is created automatically by Game. This is an internal class that authors should not need to construct or modify.

Private Constructor:

var foo = new adventurejs.Reactor(game)

Parameters:

  • game Game
    A reference to the game instance.
Inherited Overrides

Index

Methods:

Properties:

Methods Collapse all  |  Expand all

Properties  | 

game :Object

Defined in: adventure/Reactor.js, line 24

Default value: {}

A reference back to the main Game object.