Example #1
0
 def __init__(self, name, state=None):
     Id.__init__(self)
     Schedule.__init__(self)
     AnimationModifierList.__init__(self)
     self.name = name
     self.type = 'Animation'
     self.second_type = 'A'
     self.state = state
Example #2
0
File: parse.py Project: cryham/kll
	def animationModlist( modifiers ):
		'''
		Build an AnimationModifierList

		Only used for animation data association
		'''
		modlist = AnimationModifierList()
		modlist.setModifiers( modifiers )
		return modlist
Example #3
0
File: parse.py Project: merten/kll
    def animationModlist(modifiers):
        '''
        Build an AnimationModifierList

        Only used for animation data association
        '''
        modlist = AnimationModifierList()
        modlist.setModifiers(modifiers)
        return modlist
Example #4
0
 def json(self):
     '''
     JSON representation of AnimationId
     '''
     output = Id.json(self)
     output.update(AnimationModifierList.json(self))
     output['name'] = self.name
     output['setting'] = "{}".format(self)
     del output['uid']
     return output
Example #5
0
File: id.py Project: nrichart/kll
 def __init__(self, name, index):
     Id.__init__(self)
     AnimationModifierList.__init__(self)
     self.name = name
     self.index = index
     self.type = 'AnimationFrame'
Example #6
0
File: id.py Project: nrichart/kll
 def __init__(self, name):
     Id.__init__(self)
     AnimationModifierList.__init__(self)
     self.name = name
     self.type = 'Animation'
     self.second_type = 'A'
Example #7
0
	def __init__( self, name, index ):
		Id.__init__( self )
		AnimationModifierList.__init__( self )
		self.name = name
		self.index = index
		self.type = 'AnimationFrame'
Example #8
0
	def __init__( self, name ):
		Id.__init__( self )
		AnimationModifierList.__init__( self )
		self.name = name
		self.type = 'Animation'