コード例 #1
0
ファイル: monster.py プロジェクト: pmachata/unnamable
 def __init__ (self, name, special_abilities = {}, **attributes):
     DeckItem.__init__ (self, name, **attributes)
     SubjectProto.__init__ (self, special_abilities)
コード例 #2
0
ファイル: test_obj.py プロジェクト: pmachata/unnamable
 def __init__ (self):
     SubjectProto.__init__ (self, [1, 2])
コード例 #3
0
ファイル: monster.py プロジェクト: pmachata/unnamable
 def __init__(self, name, special_abilities={}, **attributes):
     DeckItem.__init__(self, name, **attributes)
     SubjectProto.__init__(self, special_abilities)
コード例 #4
0
ファイル: item.py プロジェクト: pmachata/unnamable
 def __init__ (self, name, **attributes):
     ObjectWithAttributes.__init__ (self)
     NamedObject.__init__ (self, name)
     SubjectProto.__init__ (self, {}) # no special abilities
     self.apply_attributes (attributes)