Rabbit Escape  2017-01-14_18:33:47_+0000__(tag:_v0.10.1)
Static Public Member Functions | List of all members
rabbitescape.engine.config.RealConfigUpgrades Class Reference

Static Public Member Functions

static IConfigUpgrade[] realConfigUpgrades ()
 
static IConfigUpgrade[] realConfigUpgrades (IConfigUpgrade upgradeTo1)
 

Member Function Documentation

static IConfigUpgrade [] rabbitescape.engine.config.RealConfigUpgrades.realConfigUpgrades ( )
static

Create the standard list of upgrades for non-Android versions, including a dummy empty upgrade from version 0 to 1.

Returns
the list of currently-enabled config upgrades. The first upgrades from version 0 to 1, the second upgrades from version 1 to 2, etc.
static IConfigUpgrade [] rabbitescape.engine.config.RealConfigUpgrades.realConfigUpgrades ( IConfigUpgrade  upgradeTo1)
static

Create the standard list of upgrades, allowing you to supply the first upgrade to run. This is used by the Android code to supply the Android version of the 0->1 upgrade, because it is different.

Parameters
thefirst upgrade to be put in the list
Returns
the list of currently-enabled config upgrades. The first upgrades from version 0 to 1, the second upgrades from version 1 to 2, etc.

The documentation for this class was generated from the following file: