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", "GameDisplay" );
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 186
set
set(props) → {AdventureJS.Outrocard}
Defined in: Adventure/Outrocard.js, line 202
Parameters:
-
propsObject
A generic object containing properties to copy to the instance.
Returns:
AdventureJS.Outrocard
Returns the instance the method is called on (useful for chaining calls.)
show
show()
Defined in: Adventure/Outrocard.js, line 110
Properties |
clear_on_continue
clear_on_continue :Boolean
Defined in: Adventure/Outrocard.js, line 72
Default value: false
clear_on_show
clear_on_show :Boolean
Defined in: Adventure/Outrocard.js, line 65
Default value: false
hide_statusbar
hide_statusbar :Boolean
Defined in: Adventure/Outrocard.js, line 79
Default value: false
hide_titlebar
hide_titlebar :Boolean
Defined in: Adventure/Outrocard.js, line 94
Default value: false
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 101
Default value: true
show_undo
show_undo :Boolean
text
text :String
Defined in: Adventure/Outrocard.js, line 30
Default value: ""