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

Class Instance

source code

      _object --+        
                |        
IReferenceCounted --+    
                    |    
            FifeClass --+
                        |
                       Instance

Proxy of C++ FIFE::Instance class

Instance Methods [hide private]
 
__repr__(self) source code
FifeClass
__init__(self, *args)
__init__(self, Object object, Location location, string identifier = "") -> Instance __init__(self, Object object, Location location) -> Instance
source code
string
getId(self) source code
 
setId(self, identifier="")
setId(self, string identifier = "") setId(self)
source code
Object
getObject(self) source code
 
setLocation(self, *args)
setLocation(self, Location loc)
source code
Location
getLocation(self) source code
Location
getLocationRef(self) source code
Location
getTargetLocation(self) source code
 
setRotation(self, *args)
setRotation(self, int arg0)
source code
int
getRotation(self) source code
 
setBlocking(self, *args)
setBlocking(self, bool blocking)
source code
bool
isBlocking(self) source code
 
setOverrideBlocking(self, *args)
setOverrideBlocking(self, bool overblock)
source code
bool
isOverrideBlocking(self) source code
 
addActionListener(self, *args)
addActionListener(self, InstanceActionListener listener)
source code
 
removeActionListener(self, *args)
removeActionListener(self, InstanceActionListener listener)
source code
 
addChangeListener(self, *args)
addChangeListener(self, InstanceChangeListener listener)
source code
 
removeChangeListener(self, *args)
removeChangeListener(self, InstanceChangeListener listener)
source code
Action
getCurrentAction(self) source code
double
getMovementSpeed(self) source code
 
setFacingLocation(self, *args)
setFacingLocation(self, Location loc)
source code
Location
getFacingLocation(self) source code
Location
getFacingLocationRef(self) source code
unsigned int
getActionRuntime(self) source code
 
setActionRuntime(self, *args)
setActionRuntime(self, unsigned int time_offset)
source code
 
move(self, *args)
move(self, string action_name, Location target, double speed)
source code
 
act(self, *args)
act(self, string action_name, Location direction, bool repeating = False) act(self, string action_name, Location direction)
source code
 
follow(self, *args)
follow(self, string action_name, Instance leader, double speed)
source code
 
say(self, *args)
say(self, string text, unsigned int duration = 0) say(self, string text)
source code
 
setTimeMultiplier(self, *args)
setTimeMultiplier(self, float multip)
source code
float
getTimeMultiplier(self) source code
unsigned int
getRuntime(self) source code
 
refresh(self) source code
InstanceChangeInfo
getChangeInfo(self) source code
 
setVisual(self, *args)
setVisual(self, AbstractVisual visual)
source code
InstanceVisual
get2dGfxVisual(self) source code

Inherited from FifeClass: addRef, decRef, getFifeId, getRefCount

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

__repr__(self)
(Representation operator)

source code 
Overrides: _swig_repr

__init__(self, *args)
(Constructor)

source code 

__init__(self, Object object, Location location, string identifier = "") -> Instance __init__(self, Object object, Location location) -> Instance

Returns: FifeClass
Overrides: IReferenceCounted.__init__