Class:Outrocard
Defined in: Adventure/Outrocard.js, line 5
Description
Outrocard can be used to print a completion screen when a player reaches an end state of the game (win, lose, or draw). Outrocard is created automatically by Game. This is an internal class that authors should not need to construct. However, authors can set title options from their game file as shown below.
Example:
var MyGame = new AdventureJS.Game( "MyGame", "GameContainer" );
MyGame.Outrocard.set({
});
Private Constructor:
var foo = new AdventureJS.Outrocard(game)
Parameters:
-
gameGame
A reference to the game instance.
- Index
- Methods
- Properties
Index
Methods Collapse all |
hide
hide()
Defined in: Adventure/Outrocard.js, line 215
hide
hide()
Defined in: Adventure/Outrocard.js, line 235
set
set(props) → {Object}
Defined in: Adventure/Outrocard.js, line 250
Parameters:
-
propsObject
A generic object containing properties to copy to the instance.
Returns:
Object
Returns the instance the method is called on (useful for chaining calls.)
show
show()
Defined in: Adventure/Outrocard.js, line 118
Properties |
clear_on_continue
clear_on_continue :Boolean
Defined in: Adventure/Outrocard.js, line 73
Default value: false
clear_on_show
clear_on_show :Boolean
Defined in: Adventure/Outrocard.js, line 66
Default value: false
hide_statusbar
hide_statusbar :Boolean
Defined in: Adventure/Outrocard.js, line 80
Default value: false
hide_titlebar
hide_titlebar :Boolean
Defined in: Adventure/Outrocard.js, line 95
Default value: false
is_shown
is_shown :Boolean
Defined in: Adventure/Outrocard.js, line 110
Default value: true
show_quit
show_quit :Boolean
show_restart
show_restart :Boolean
show_restore
show_restore :Boolean
show_titlebar_on_continue
show_titlebar_on_continue :Boolean
Defined in: Adventure/Outrocard.js, line 102
Default value: true
show_undo
show_undo :Boolean
text
text :String
Defined in: Adventure/Outrocard.js, line 31
Default value: ""