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

Class Instance

source code

_object --+    
          |    
  FifeClass --+
              |
             Instance

Proxy of C++ FIFE::Instance class

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code
 
__init__(self, *args)
__init__(FIFE::Instance self, Object object, Location location, std::string const & identifier="") -> Instance __init__(FIFE::Instance self, Object object, Location location) -> Instance
source code
 
getId(self)
getId(Instance self) -> std::string const &
source code
 
setId(self, identifier="")
setId(Instance self, std::string const & identifier="") setId(Instance self)
source code
 
getObject(self)
getObject(Instance self) -> Object
source code
 
setLocation(self, *args)
setLocation(Instance self, Location loc)
source code
 
getLocation(self)
getLocation(Instance self) -> Location
source code
 
getLocationRef(self)
getLocationRef(Instance self) -> Location
source code
 
getTargetLocation(self)
getTargetLocation(Instance self) -> Location
source code
 
setRotation(self, *args)
setRotation(Instance self, int32_t arg2)
source code
 
getRotation(self)
getRotation(Instance self) -> int32_t
source code
 
getOldRotation(self)
getOldRotation(Instance self) -> int32_t
source code
 
setBlocking(self, *args)
setBlocking(Instance self, bool blocking)
source code
 
isBlocking(self)
isBlocking(Instance self) -> bool
source code
 
setOverrideBlocking(self, *args)
setOverrideBlocking(Instance self, bool overblock)
source code
 
isOverrideBlocking(self)
isOverrideBlocking(Instance self) -> bool
source code
 
addActionListener(self, *args)
addActionListener(Instance self, InstanceActionListener listener)
source code
 
removeActionListener(self, *args)
removeActionListener(Instance self, InstanceActionListener listener)
source code
 
addChangeListener(self, *args)
addChangeListener(Instance self, InstanceChangeListener listener)
source code
 
removeChangeListener(self, *args)
removeChangeListener(Instance self, InstanceChangeListener listener)
source code
 
addDeleteListener(self, *args)
addDeleteListener(Instance self, InstanceDeleteListener listener)
source code
 
removeDeleteListener(self, *args)
removeDeleteListener(Instance self, InstanceDeleteListener listener)
source code
 
getCurrentAction(self)
getCurrentAction(Instance self) -> Action
source code
 
getMovementSpeed(self)
getMovementSpeed(Instance self) -> double
source code
 
setFacingLocation(self, *args)
setFacingLocation(Instance self, Location loc)
source code
 
getFacingLocation(self)
getFacingLocation(Instance self) -> Location
source code
 
getActionRuntime(self)
getActionRuntime(Instance self) -> uint32_t
source code
 
setActionRuntime(self, *args)
setActionRuntime(Instance self, uint32_t time_offset)
source code
 
move(self, *args)
move(Instance self, std::string const & actionName, Location target, double const speed, std::string const & costId="") move(Instance self, std::string const & actionName, Location target, double const speed)
source code
 
actOnce(self, *args)
actOnce(Instance self, std::string const & actionName, Location direction) actOnce(Instance self, std::string const & actionName, int32_t rotation) actOnce(Instance self, std::string const & actionName)
source code
 
actRepeat(self, *args)
actRepeat(Instance self, std::string const & actionName, Location direction) actRepeat(Instance self, std::string const & actionName, int32_t rotation) actRepeat(Instance self, std::string const & actionName)
source code
 
follow(self, *args)
follow(Instance self, std::string const & actionName, Instance leader, double const speed) follow(Instance self, std::string const & actionName, Route route, double const speed)
source code
 
cancelMovement(self, length=1)
cancelMovement(Instance self, uint32_t length=1) cancelMovement(Instance self)
source code
 
say(self, *args)
say(Instance self, std::string const & text, uint32_t duration=0) say(Instance self, std::string const & text)
source code
 
setTimeMultiplier(self, *args)
setTimeMultiplier(Instance self, float multip)
source code
 
getTimeMultiplier(self)
getTimeMultiplier(Instance self) -> float
source code
 
getRuntime(self)
getRuntime(Instance self) -> uint32_t
source code
 
refresh(self)
refresh(Instance self)
source code
 
getChangeInfo(self)
getChangeInfo(Instance self) -> FIFE::InstanceChangeInfo
source code
 
setVisual(self, *args)
setVisual(Instance self, IVisual visual)
source code
 
getRoute(self)
getRoute(Instance self) -> Route
source code
 
setVisitor(self, *args)
setVisitor(Instance self, bool visit)
source code
 
isVisitor(self)
isVisitor(Instance self) -> bool
source code
 
setVisitorShape(self, *args)
setVisitorShape(Instance self, FIFE::VisitorShapeInfo info)
source code
 
getVisitorShape(self)
getVisitorShape(Instance self) -> FIFE::VisitorShapeInfo
source code
 
setVisitorRadius(self, *args)
setVisitorRadius(Instance self, uint16_t radius)
source code
 
getVisitorRadius(self)
getVisitorRadius(Instance self) -> uint16_t
source code
 
setCellStackPosition(self, *args)
setCellStackPosition(Instance self, uint8_t stack)
source code
 
getCellStackPosition(self)
getCellStackPosition(Instance self) -> uint8_t
source code
 
isSpecialCost(self)
isSpecialCost(Instance self) -> bool
source code
 
setCost(self, *args)
setCost(Instance self, std::string const & id, double cost)
source code
 
resetCost(self)
resetCost(Instance self)
source code
 
getCost(self)
getCost(Instance self) -> double
source code
 
getCostId(self)
getCostId(Instance self) -> std::string
source code
 
getSpeed(self)
getSpeed(Instance self) -> double
source code
 
isSpecialSpeed(self)
isSpecialSpeed(Instance self) -> bool
source code
 
isMultiCell(self)
isMultiCell(Instance self) -> bool
source code
 
isMultiObject(self)
isMultiObject(Instance self) -> bool
source code
 
getMultiInstances(self)
getMultiInstances(Instance self) -> InstanceVector
source code
 
getMainMultiInstance(self)
getMainMultiInstance(Instance self) -> Instance
source code
 
addStaticColorOverlay(self, *args)
addStaticColorOverlay(Instance self, uint32_t angle, OverlayColors colors)
source code
 
getStaticColorOverlay(self, *args)
getStaticColorOverlay(Instance self, int32_t angle) -> OverlayColors
source code
 
removeStaticColorOverlay(self, *args)
removeStaticColorOverlay(Instance self, int32_t angle)
source code
 
isStaticColorOverlay(self)
isStaticColorOverlay(Instance self) -> bool
source code
 
addAnimationOverlay(self, *args)
addAnimationOverlay(Instance self, std::string const & actionName, uint32_t angle, int32_t order, SharedAnimationPointer animationptr)
source code
 
getAnimationOverlay(self, *args)
getAnimationOverlay(Instance self, std::string const & actionName, int32_t angle) -> AnimationOverlayMap
source code
 
removeAnimationOverlay(self, *args)
removeAnimationOverlay(Instance self, std::string const & actionName, uint32_t angle, int32_t order)
source code
 
addColorOverlay(self, *args)
addColorOverlay(Instance self, std::string const & actionName, uint32_t angle, OverlayColors colors) addColorOverlay(Instance self, std::string const & actionName, uint32_t angle, int32_t order, OverlayColors colors)
source code
 
getColorOverlay(self, *args)
getColorOverlay(Instance self, std::string const & actionName, uint32_t angle) -> OverlayColors getColorOverlay(Instance self, std::string const & actionName, uint32_t angle, int32_t order) -> OverlayColors
source code
 
removeColorOverlay(self, *args)
removeColorOverlay(Instance self, std::string const & actionName, int32_t angle) removeColorOverlay(Instance self, std::string const & actionName, int32_t angle, int32_t order)
source code
 
convertToOverlays(self, *args)
convertToOverlays(Instance self, std::string const & actionName, bool color)
source code
 
isAnimationOverlay(self, *args)
isAnimationOverlay(Instance self, std::string const & actionName) -> bool
source code
 
isColorOverlay(self, *args)
isColorOverlay(Instance self, std::string const & actionName) -> bool
source code
 
get2dGfxVisual(self)
get2dGfxVisual(Instance self) -> InstanceVisual
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_Instance
  __del__ = lambda self:
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: _swig_repr

__init__(self, *args)
(Constructor)

source code 

__init__(FIFE::Instance self, Object object, Location location, std::string const & identifier="") -> Instance __init__(FIFE::Instance self, Object object, Location location) -> Instance

Overrides: FifeClass.__init__