mtx.Settings

class Settings[source]

Bases: object

cellAccessBlacklist = None

List of object symbols, none of which may be present in the cell to grant access. If the value is None (default), there is no blacklist check.

cellAccessWhitelist = None

List of object symbols of which at least one must be present in a cell to grant access. If the value is None (default), there is no whitelist check.

centerSmalerLevels = None

If the renderer has a fixed size and a level is smaller, then this setting indicates whether the level should be centered or drawn in the upper left corner.

jumpingAllowed = None

Indicates whether a player is allowed to jump.

movingAllowed = None

Indicates whether a player is allowed to move.

preferedSize = None

The prefered size of the playing field. A program that renders the surface will always try to keep this size. If no size is specified, then the client will specify a size.