Package fife :: Module fife :: Class Animation
[hide private]
[frames] | no frames]

Class Animation

source code

_object --+    
          |    
  FifeClass --+
              |
             Animation

Proxy of C++ FIFE::Animation class

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code
 
__init__(self)
__init__(FIFE::Animation self) -> Animation
source code
 
addFrame(self, *args)
addFrame(Animation self, SharedImagePointer image, uint32_t duration)
source code
 
getFrameIndex(self, *args)
getFrameIndex(Animation self, uint32_t timestamp) -> int32_t
source code
 
getFrame(self, *args)
getFrame(Animation self, int32_t index) -> SharedImagePointer
source code
 
getFrameByTimestamp(self, *args)
getFrameByTimestamp(Animation self, uint32_t timestamp) -> SharedImagePointer
source code
 
getFrameDuration(self, *args)
getFrameDuration(Animation self, int32_t index) -> int32_t
source code
 
getFrameCount(self)
getFrameCount(Animation self) -> uint32_t
source code
 
setActionFrame(self, *args)
setActionFrame(Animation self, int32_t num)
source code
 
getActionFrame(self)
getActionFrame(Animation self) -> int32_t
source code
 
setDirection(self, *args)
setDirection(Animation self, uint32_t direction)
source code
 
getDirection(self)
getDirection(Animation self) -> uint32_t
source code
 
getDuration(self)
getDuration(Animation self) -> int32_t
source code
SharedAnimationPointer
createAnimation() source code

Inherited from FifeClass: getFifeId

Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_Animation
  __del__ = lambda self:
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: _swig_repr

__init__(self)
(Constructor)

source code 

__init__(FIFE::Animation self) -> Animation

Overrides: FifeClass.__init__