def getClass(self): """ Return the cell class name :rtype: str :return: string with the class name """ return utilator.getClass(self)
def __init__(self, theName): """ Initialize Player instance >>> u = Player('my name') >>> u.name 'my name' >>> u.stats # doctest: +ELLIPSIS <stats.Stats object at 0x...> :type theName: str :param theName: Player name """ super(Player, self).__init__(theName) self.stats = stats.Stats() self.attrs = attrs.Attrs() self.logger = loggerator.getLoggerator(utilator.getClass(self)) self.dungeonpath = None