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

Class Layer

source code

      _object --+            
                |            
IReferenceCounted --+        
                    |        
            FifeClass --+    
                        |    
      _object --+       |    
                |       |    
IReferenceCounted --+   |    
                    |   |    
            IResource --+    
                        |    
            ResourceClass --+
                            |
                           Layer

Proxy of C++ FIFE::Layer class

Instance Methods [hide private]
 
__repr__(self) source code
FifeClass
__init__(self, *args)
__init__(self, string identifier, Map map, CellGrid geometry) -> Layer
source code
string
getId(self) source code
 
setId(self, *args)
setId(self, string id)
source code
CellGrid
getCellGrid(self) source code
 
setCellGrid(self, *args)
setCellGrid(self, CellGrid grid)
source code
Map
getMap(self) source code
bool
hasInstances(self) source code
 
createInstance(self, *args)
createInstance(self, Object object, ModelCoordinate p, string id = "") -> Instance createInstance(self, Object object, ModelCoordinate p) -> Instance createInstance(self, Object object, ExactModelCoordinate p, string id = "") -> Instance createInstance(self, Object object, ExactModelCoordinate p) -> Instance
source code
 
addInstance(self, *args)
addInstance(self, Instance instance, ExactModelCoordinate p) -> bool
source code
 
deleteInstance(self, *args)
deleteInstance(self, Instance object)
source code
InstanceVector
getInstances(self)
getInstances(self, string identifier) -> InstanceVector
source code
 
getInstancesAt(self, *args)
getInstancesAt(self, Location loc, bool use_exactcoordinates = False) -> InstanceVector getInstancesAt(self, Location loc) -> InstanceVector
source code
 
getInstance(self, *args)
getInstance(self, string id) -> Instance
source code
 
setInstancesVisible(self, *args)
setInstancesVisible(self, bool vis)
source code
 
setLayerTransparency(self, *args)
setLayerTransparency(self, uint8_t transparency)
source code
uint8_t
getLayerTransparency(self) source code
 
cellContainsBlockingInstance(self, *args)
cellContainsBlockingInstance(self, ModelCoordinate cellCoordinate) -> bool
source code
 
toggleInstancesVisible(self) source code
bool
areInstancesVisible(self) source code
 
setPathingStrategy(self, *args)
setPathingStrategy(self, PathingStrategy strategy)
source code
PathingStrategy
getPathingStrategy(self) source code
 
addChangeListener(self, *args)
addChangeListener(self, LayerChangeListener listener)
source code
 
removeChangeListener(self, *args)
removeChangeListener(self, LayerChangeListener listener)
source code
bool
isChanged(self) source code
InstanceVector
getChangedInstances(self) source code

Inherited from ResourceClass: getPoolId, getResourceFile, getResourceLocation, setPoolId, setResourceFile, setResourceLocation

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_Layer
  __del__ = lambda self:
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
Overrides: _swig_repr

__init__(self, *args)
(Constructor)

source code 

__init__(self, string identifier, Map map, CellGrid geometry) -> Layer

Returns: FifeClass
Overrides: IResource.__init__