Пример #1
0
 def add(self, other):
     if isinstance(other, Animation):
         self.animations[other.name] = other
         if self.default == None:
             self.setDefault(other)
         
     GameObject.add(self, other)