SQ5 (of Game
)¶
-
class
SQ5
¶ Defined in Main.sc.
The main game class. This subclasses
Game
and adds game-specific functionality.
Properties¶
Inherited from Game
:
Property | Description |
---|---|
script | |
printLang | |
_detailLevel | |
panelObj | |
panelSelector | |
handsOffCode | |
handsOnCode | |
name |
Methods¶
-
init
() Modify this to set up any initial state the game needs. Among the things set here are:
- The maximum score.
- Text colors and fonts used in messages.
- The action icons.
- The default game cursor.
-
doit
(param1)
-
play
()
-
startRoom
(param1)
-
restart
(param1)
-
restore
(param1)
-
save
(param1)
-
handleEvent
(pEvent) Modify this method to change any global keyboard bindings.
-
setCursor
(cursorNumber param2 param3 param4)
-
quitGame
(param1)
-
pragmaFail
() Modify this method to add any default messages for actions.
-
handsOff
() This disables player control (e.g. for cutscenes).
-
handsOn
(fRestore) This re-enables player control after having been disabled.
-
showAbout
()
-
showControls
()