Class: VerbSubscription
Extends: adventurejs.VerbSubscription
Defined in: adventure/VerbSubscription.js, line 6
VerbSubscription is in tryout vs using unclassed objects.
VerbSubscription is a special class
used to create a standardized format for managing
verb subscriptions on assets at
asset.dov[verb] and
asset.iov[verb].
This is meant to provide a clean and orderly way to
specify what verbs are supported by individual assets
or asset classes.
VerbSubscriptions and their values are passed down the
inheritance chain. For example:
asset.dov.examine
is available on Matter,
and inherited by
Tangible,
which means that all Tangible
subclasses can be examined.
Private Constructor:
var foo = new adventurejs.VerbSubscription(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:
- Overrides from VerbSubscription disable
- Overrides from VerbSubscription enable
- Overrides from VerbSubscription incrementDoCount
- Overrides from VerbSubscription incrementTryCount
Properties:
- Overrides from VerbSubscription automatically
- Overrides from VerbSubscription automatically_after_use
- Overrides from VerbSubscription did_do
- Overrides from VerbSubscription did_try
- Overrides from VerbSubscription do_count
- Overrides from VerbSubscription enabled
- Overrides from VerbSubscription inherited_from
- Overrides from VerbSubscription name
- Overrides from VerbSubscription on_failure
- Overrides from VerbSubscription on_first_failure
- Overrides from VerbSubscription on_first_success
- Overrides from VerbSubscription on_success
- Overrides from VerbSubscription once
- Overrides from VerbSubscription then_destroy
- Overrides from VerbSubscription then_disable
- Overrides from VerbSubscription try_count
- Overrides from VerbSubscription with_anything
- Overrides from VerbSubscription with_assets
- Overrides from VerbSubscription with_classes
- Overrides from VerbSubscription with_nothing
- Overrides from VerbSubscription with_params
Methods Collapse all |
disable()
Defined in: adventure/VerbSubscription.js, line 203
Overrides from: adventurejs.VerbSubscription#disable
enable()
Defined in: adventure/VerbSubscription.js, line 194
Overrides from: adventurejs.VerbSubscription#enable
incrementDoCount()
Defined in: adventure/VerbSubscription.js, line 212
Overrides from: adventurejs.VerbSubscription#incrementDoCount
incrementTryCount()
Defined in: adventure/VerbSubscription.js, line 221
Overrides from: adventurejs.VerbSubscription#incrementTryCount
Properties |
automatically :Boolean
Defined in: adventure/VerbSubscription.js, line 79
Overrides from: adventurejs.VerbSubscription#automatically
automatically_after_use :Boolean
Defined in: adventure/VerbSubscription.js, line 85
Overrides from: adventurejs.VerbSubscription#automatically_after_use
did_do :Getter
Defined in: adventure/VerbSubscription.js, line 230
Overrides from: adventurejs.VerbSubscription#did_do
did_try :Getter
Defined in: adventure/VerbSubscription.js, line 239
Overrides from: adventurejs.VerbSubscription#did_try
do_count :String
Defined in: adventure/VerbSubscription.js, line 54
Overrides from: adventurejs.VerbSubscription#do_count
enabled :Boolean
Defined in: adventure/VerbSubscription.js, line 73
Overrides from: adventurejs.VerbSubscription#enabled
inherited_from :String
Defined in: adventure/VerbSubscription.js, line 67
Overrides from: adventurejs.VerbSubscription#inherited_from
name :String
Defined in: adventure/VerbSubscription.js, line 61
Overrides from: adventurejs.VerbSubscription#name
on_failure :String|*
Defined in: adventure/VerbSubscription.js, line 160
Overrides from: adventurejs.VerbSubscription#on_failure
on_first_failure :String|*
Defined in: adventure/VerbSubscription.js, line 167
Overrides from: adventurejs.VerbSubscription#on_first_failure
on_first_success :String|*
Defined in: adventure/VerbSubscription.js, line 153
Overrides from: adventurejs.VerbSubscription#on_first_success
on_success :String|*
Defined in: adventure/VerbSubscription.js, line 146
Overrides from: adventurejs.VerbSubscription#on_success
once :Boolean
Defined in: adventure/VerbSubscription.js, line 91
Overrides from: adventurejs.VerbSubscription#once
then_destroy :Boolean|*
Defined in: adventure/VerbSubscription.js, line 103
Overrides from: adventurejs.VerbSubscription#then_destroy
then_disable :Boolean
Defined in: adventure/VerbSubscription.js, line 97
Overrides from: adventurejs.VerbSubscription#then_disable
try_count :String
Defined in: adventure/VerbSubscription.js, line 47
Overrides from: adventurejs.VerbSubscription#try_count
with_anything :Boolean
Defined in: adventure/VerbSubscription.js, line 110
Overrides from: adventurejs.VerbSubscription#with_anything
with_assets :Array
Defined in: adventure/VerbSubscription.js, line 116
Overrides from: adventurejs.VerbSubscription#with_assets
with_classes :Array
Defined in: adventure/VerbSubscription.js, line 123
Overrides from: adventurejs.VerbSubscription#with_classes
with_nothing :Boolean
Defined in: adventure/VerbSubscription.js, line 131
Overrides from: adventurejs.VerbSubscription#with_nothing
with_params :Object
Defined in: adventure/VerbSubscription.js, line 137
Overrides from: adventurejs.VerbSubscription#with_params