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

Class CellCache

source code

_object --+    
          |    
  FifeClass --+
              |
             CellCache

Proxy of C++ FIFE::CellCache class

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code
 
__init__(self, *args)
__init__(FIFE::CellCache self, Layer layer) -> CellCache
source code
 
createCells(self)
createCells(CellCache self)
source code
 
forceUpdate(self)
forceUpdate(CellCache self)
source code
 
addCell(self, *args)
addCell(CellCache self, Cell cell)
source code
 
createCell(self, *args)
createCell(CellCache self, Point3D mc) -> Cell
source code
 
getCell(self, *args)
getCell(CellCache self, Point3D mc) -> Cell
source code
 
addInteractOnRuntime(self, *args)
addInteractOnRuntime(CellCache self, Layer interact)
source code
 
removeInteractOnRuntime(self, *args)
removeInteractOnRuntime(CellCache self, Layer interact)
source code
 
getSize(self)
getSize(CellCache self) -> Rect
source code
 
setSize(self, *args)
setSize(CellCache self, Rect rec)
source code
 
getWidth(self)
getWidth(CellCache self) -> uint32_t
source code
 
getHeight(self)
getHeight(CellCache self) -> uint32_t
source code
 
getMaxIndex(self)
getMaxIndex(CellCache self) -> int32_t
source code
 
setMaxNeighborZ(self, *args)
setMaxNeighborZ(CellCache self, int32_t z)
source code
 
getMaxNeighborZ(self)
getMaxNeighborZ(CellCache self) -> int32_t
source code
 
isInCellCache(self, *args)
isInCellCache(CellCache self, Location location) -> bool
source code
 
getCellsInLine(self, *args)
getCellsInLine(CellCache self, Point3D pt1, Point3D pt2, bool blocker=False) -> CellVector getCellsInLine(CellCache self, Point3D pt1, Point3D pt2) -> CellVector
source code
 
getCellsInRect(self, *args)
getCellsInRect(CellCache self, Rect rec) -> CellVector
source code
 
getCellsInCircle(self, *args)
getCellsInCircle(CellCache self, Point3D center, uint16_t radius) -> CellVector
source code
 
getCellsInCircleSegment(self, *args)
getCellsInCircleSegment(CellCache self, Point3D center, uint16_t radius, int32_t sangle, int32_t eangle) -> CellVector
source code
 
registerCost(self, *args)
registerCost(CellCache self, std::string const & costId, double cost)
source code
 
unregisterCost(self, *args)
unregisterCost(CellCache self, std::string const & costId)
source code
 
getCost(self, *args)
getCost(CellCache self, std::string const & costId) -> double
source code
 
existsCost(self, *args)
existsCost(CellCache self, std::string const & costId) -> bool
source code
 
getCosts(self)
getCosts(CellCache self) -> StringList
source code
 
unregisterAllCosts(self)
unregisterAllCosts(CellCache self)
source code
 
addCellToCost(self, *args)
addCellToCost(CellCache self, std::string const & costId, Cell cell)
source code
 
addCellsToCost(self, *args)
addCellsToCost(CellCache self, std::string const & costId, CellVector cells)
source code
 
removeCellFromCost(self, *args)
removeCellFromCost(CellCache self, Cell cell) removeCellFromCost(CellCache self, std::string const & costId, Cell cell)
source code
 
removeCellsFromCost(self, *args)
removeCellsFromCost(CellCache self, std::string const & costId, CellVector cells)
source code
 
getCostCells(self, *args)
getCostCells(CellCache self, std::string const & costId) -> CellVector
source code
 
getCellCosts(self, *args)
getCellCosts(CellCache self, Cell cell) -> StringVector
source code
 
existsCostForCell(self, *args)
existsCostForCell(CellCache self, std::string const & costId, Cell cell) -> bool
source code
 
setDefaultCostMultiplier(self, *args)
setDefaultCostMultiplier(CellCache self, double multi)
source code
 
getDefaultCostMultiplier(self)
getDefaultCostMultiplier(CellCache self) -> double
source code
 
setDefaultSpeedMultiplier(self, *args)
setDefaultSpeedMultiplier(CellCache self, double multi)
source code
 
getDefaultSpeedMultiplier(self)
getDefaultSpeedMultiplier(CellCache self) -> double
source code
 
addCellToArea(self, *args)
addCellToArea(CellCache self, std::string const & id, Cell cell)
source code
 
addCellsToArea(self, *args)
addCellsToArea(CellCache self, std::string const & id, CellVector cells)
source code
 
removeCellFromArea(self, *args)
removeCellFromArea(CellCache self, std::string const & id, Cell cell)
source code
 
removeCellsFromArea(self, *args)
removeCellsFromArea(CellCache self, std::string const & id, CellVector cells)
source code
 
removeArea(self, *args)
removeArea(CellCache self, std::string const & id)
source code
 
existsArea(self, *args)
existsArea(CellCache self, std::string const & id) -> bool
source code
 
getAreas(self)
getAreas(CellCache self) -> StringVector
source code
 
getCellAreas(self, *args)
getCellAreas(CellCache self, Cell cell) -> StringVector
source code
 
getAreaCells(self, *args)
getAreaCells(CellCache self, std::string const & id) -> CellVector
source code
 
isCellInArea(self, *args)
isCellInArea(CellCache self, std::string const & id, Cell cell) -> bool
source code
 
setStaticSize(self, *args)
setStaticSize(CellCache self, bool staticSize)
source code
 
isStaticSize(self)
isStaticSize(CellCache 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_CellCache
  __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::CellCache self, Layer layer) -> CellCache

Overrides: FifeClass.__init__