Memory¶
- class Memory(game: Game)[source]¶
Bases:
object
Game related values that persist outside of individual “scenes”. E.g. achievements.
- initialise_run(troupe: Troupe, gold: int, rations: int, morale: int, charisma: int, leadership: int)[source]¶
Initialise the run’s values.
- set_game_speed(speed: Union[float, nqp.core.constants.GameSpeed])[source]¶
Set the game speed. 1 is default.