Exemplo n.º 1
0
 def __init__ (self, name, special_abilities = {}, **attributes):
     DeckItem.__init__ (self, name, **attributes)
     SubjectProto.__init__ (self, special_abilities)
Exemplo n.º 2
0
 def __init__ (self):
     SubjectProto.__init__ (self, [1, 2])
Exemplo n.º 3
0
 def __init__(self, name, special_abilities={}, **attributes):
     DeckItem.__init__(self, name, **attributes)
     SubjectProto.__init__(self, special_abilities)
Exemplo n.º 4
0
 def __init__ (self, name, **attributes):
     ObjectWithAttributes.__init__ (self)
     NamedObject.__init__ (self, name)
     SubjectProto.__init__ (self, {}) # no special abilities
     self.apply_attributes (attributes)