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

Class Layer

source code

_object --+    
          |    
  FifeClass --+
              |
             Layer

Proxy of C++ FIFE::Layer class

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code
 
__init__(self, *args)
__init__(FIFE::Layer self, std::string const & identifier, Map map, CellGrid geometry) -> Layer
source code
 
getId(self)
getId(Layer self) -> std::string const &
source code
 
setId(self, *args)
setId(Layer self, std::string const & id)
source code
 
getCellGrid(self)
getCellGrid(Layer self) -> CellGrid
source code
 
setCellGrid(self, *args)
setCellGrid(Layer self, CellGrid grid)
source code
 
getMap(self)
getMap(Layer self) -> Map
source code
 
hasInstances(self)
hasInstances(Layer self) -> bool
source code
 
createInstance(self, *args)
createInstance(Layer self, Object object, Point3D p, std::string const & id="") -> Instance createInstance(Layer self, Object object, Point3D p) -> Instance createInstance(Layer self, Object object, DoublePoint3D p, std::string const & id="") -> Instance createInstance(Layer self, Object object, DoublePoint3D p) -> Instance
source code
 
addInstance(self, *args)
addInstance(Layer self, Instance instance, DoublePoint3D p) -> bool
source code
 
deleteInstance(self, *args)
deleteInstance(Layer self, Instance object)
source code
 
removeInstance(self, *args)
removeInstance(Layer self, Instance object)
source code
 
getInstances(self, *args)
getInstances(Layer self) -> InstanceVector getInstances(Layer self, std::string const & identifier) -> InstanceVector
source code
 
getInstancesAt(self, *args)
getInstancesAt(Layer self, Location loc, bool use_exactcoordinates=False) -> InstanceVector getInstancesAt(Layer self, Location loc) -> InstanceVector
source code
 
getInstancesIn(self, *args)
getInstancesIn(Layer self, Rect rec) -> InstanceList
source code
 
getInstancesInLine(self, *args)
getInstancesInLine(Layer self, Point3D pt1, Point3D pt2) -> InstanceVector
source code
 
getInstancesInCircle(self, *args)
getInstancesInCircle(Layer self, Point3D center, uint16_t radius) -> InstanceVector
source code
 
getInstancesInCircleSegment(self, *args)
getInstancesInCircleSegment(Layer self, Point3D center, uint16_t radius, int32_t sangle, int32_t eangle) -> InstanceVector
source code
 
getInstance(self, *args)
getInstance(Layer self, std::string const & id) -> Instance
source code
 
setInstancesVisible(self, *args)
setInstancesVisible(Layer self, bool vis)
source code
 
setLayerTransparency(self, *args)
setLayerTransparency(Layer self, uint8_t transparency)
source code
 
getLayerTransparency(self)
getLayerTransparency(Layer self) -> uint8_t
source code
 
getMinMaxCoordinates(self, *args)
getMinMaxCoordinates(Layer self, Point3D min, Point3D max, Layer layer=None) getMinMaxCoordinates(Layer self, Point3D min, Point3D max)
source code
 
cellContainsBlockingInstance(self, *args)
cellContainsBlockingInstance(Layer self, Point3D cellCoordinate) -> bool
source code
 
getBlockingInstances(self, *args)
getBlockingInstances(Layer self, Point3D cellCoordinate) -> InstanceVector
source code
 
toggleInstancesVisible(self)
toggleInstancesVisible(Layer self)
source code
 
areInstancesVisible(self)
areInstancesVisible(Layer self) -> bool
source code
 
setPathingStrategy(self, *args)
setPathingStrategy(Layer self, FIFE::PathingStrategy strategy)
source code
 
getPathingStrategy(self)
getPathingStrategy(Layer self) -> FIFE::PathingStrategy
source code
 
setSortingStrategy(self, *args)
setSortingStrategy(Layer self, FIFE::SortingStrategy strategy)
source code
 
getSortingStrategy(self)
getSortingStrategy(Layer self) -> FIFE::SortingStrategy
source code
 
setWalkable(self, *args)
setWalkable(Layer self, bool walkable)
source code
 
isWalkable(self)
isWalkable(Layer self) -> bool
source code
 
setInteract(self, *args)
setInteract(Layer self, bool interact, std::string const & id)
source code
 
isInteract(self)
isInteract(Layer self) -> bool
source code
 
getWalkableId(self)
getWalkableId(Layer self) -> std::string const &
source code
 
addInteractLayer(self, *args)
addInteractLayer(Layer self, Layer layer)
source code
 
getInteractLayers(self)
getInteractLayers(Layer self) -> LayerVector
source code
 
removeInteractLayer(self, *args)
removeInteractLayer(Layer self, Layer layer)
source code
 
createCellCache(self)
createCellCache(Layer self)
source code
 
getCellCache(self)
getCellCache(Layer self) -> CellCache
source code
 
destroyCellCache(self)
destroyCellCache(Layer self)
source code
 
addChangeListener(self, *args)
addChangeListener(Layer self, LayerChangeListener listener)
source code
 
removeChangeListener(self, *args)
removeChangeListener(Layer self, LayerChangeListener listener)
source code
 
isChanged(self)
isChanged(Layer self) -> bool
source code
 
getChangedInstances(self)
getChangedInstances(Layer self) -> InstanceVector
source code
 
setStatic(self, *args)
setStatic(Layer self, bool stati)
source code
 
isStatic(self)
isStatic(Layer self) -> bool
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_Layer
  __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::Layer self, std::string const & identifier, Map map, CellGrid geometry) -> Layer

Overrides: FifeClass.__init__