Package horizons :: Package util :: Module savegameupgrader :: Class SavegameUpgrader
[hide private]
[frames] | no frames]

Class SavegameUpgrader

source code

The class that prepares saved games to be loaded by the current version.

Instance Methods [hide private]
__init__(self, path) source code
_upgrade_to_rev77(self, db) source code
_upgrade(self) source code
Return the path to the up-to-date version of the saved game.
source code
close(self) source code
Class Methods [hide private]
can_upgrade(cls, from_savegame_version)
Checks whether a savegame can be upgraded from the current version
source code
Class Variables [hide private]
  log = logging.getLogger("util.savegameupgrader")