Class:Drainable_Is
Extends: adventurejs.Tangible_Is
Defined in: adventure/assets/tangibles/things/containers/liquidcontainers/Drainable_Is.js, line 5
Description
Drainable_Is.js handles is.state management for Drainable Assets.
Private Constructor:
var foo = new adventurejs.Drainable_Is(game_name, name)
Parameters:
-
game_nameString
Name of top level game instance that is scoped to window. -
nameString
Instance name.
- Index
- Methods
- Properties
Index
Methods Collapse all |
getClassInheritance
getClassInheritance() → {Array}
Defined in: adventure/Atom.js, line 191
Inherited from: adventurejs.Atom#getClassInheritance
Returns:
Array
hasClass
hasClass(prop) → {Boolean}
Defined in: adventure/Atom.js, line 171
Inherited from: adventurejs.Atom#hasClass
Parameters:
-
propString
Name of the class to test for.
Returns:
Boolean
set
set(props) → {Object}
Defined in: adventure/Atom.js, line 159
Inherited from: adventurejs.Atom#set
Parameters:
-
propsObject
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
game :Getter
Defined in: adventure/Atom.js, line 138
Inherited from: adventurejs.Atom#game
this.game.
id
id :String
Defined in: adventure/Atom.js, line 114
Inherited from: adventurejs.Atom#id
name
name :String
Defined in: adventure/Atom.js, line 62
Inherited from: adventurejs.Atom#name
Name
Name :String
Defined in: adventure/Atom.js, line 125
Inherited from: adventurejs.Atom#Name