Class: Character_Is
Extends: adventurejs.Tangible_Is
Defined in: adventure/assets/tangibles/Character_Is.js, line 6
Private Constructor:
var foo = new adventurejs.Character_Is(game_name, name)
Parameters:
-
game_name
String
Name of top level game instance that is scoped to window. -
name
String
Instance name.
- Index
- Methods
- Properties
Index
Methods:
- Inherited from Atom getInheritance
- Inherited from Atom hasClass
- Inherited from Atom set
Properties:
Methods Collapse all |
getInheritance() → {Array}
Defined in: adventure/Atom.js, line 151
Inherited from: adventurejs.Atom#getInheritance
Returns:
Array
hasClass(prop) → {Boolean}
Defined in: adventure/Atom.js, line 131
Inherited from: adventurejs.Atom#hasClass
Parameters:
-
prop
String
Name of the class to test for.
Returns:
Boolean
set(props) → {Object}
Defined in: adventure/Atom.js, line 119
Inherited from: adventurejs.Atom#set
Parameters:
-
props
Object
A generic object containing properties to copy to the Object instance.
Returns:
Object
Returns the instance the method is called on (useful for chaining calls.)
Properties |
game :Getter
Defined in: adventure/Atom.js, line 110
Inherited from: adventurejs.Atom#game
this.game
.
Name :String
Defined in: adventure/Atom.js, line 97
Inherited from: adventurejs.Atom#Name