Package horizons :: Package ai :: Package aiplayer :: Module personalitymanager :: Class PersonalityManager
[hide private]
[frames] | no frames]

Class PersonalityManager

source code

This class handles the loading of personality data for the AI players.

Instance Methods [hide private]
__init__(self, player) source code
save(self, db) source code
_load(self, db, player) source code
get(self, name)
Return a class that contains the relevant personality constants.
source code
Class Methods [hide private]
load(cls, db, player) source code
prepare_personalities_list(cls) source code
Class Variables [hide private]
  log = logging.getLogger("ai.aiplayer.personality_manager")
  available_personalities = []