State¶
-
get_active_skill_target
() → Tuple[int, int][source]¶ Get the active skill target. Used for targeting mode.
-
get_current
() → scripts.engine.internal.constant.GameState[source]¶ Get the current game state
-
get_previous
() → scripts.engine.internal.constant.GameState[source]¶ Get the previous game state
-
get_skill_target_valid
() → bool[source]¶ Get the validity of the current target. Used for targeting mode.
-
initialise_engine
()[source]¶ Initialise engine resources.
N.B. Must be called before using the rest of the engine.
-
load_game
(filename: str)[source]¶ Deserialise the game data from a file. Filename does not include path to save folder.
-
set_active_skill_target
(skill_target: Tuple[int, int])[source]¶ Set the active skill target. Used for targeting mode.
-
set_new
(new_game_state: scripts.engine.internal.constant.GameState)[source]¶ Set the current game state