예제 #1
0
 def __init__ (self, name, special_abilities = {}, **attributes):
     DeckItem.__init__ (self, name, **attributes)
     SubjectProto.__init__ (self, special_abilities)
예제 #2
0
 def __init__ (self):
     SubjectProto.__init__ (self, [1, 2])
예제 #3
0
 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)