C# Class PsmFramework.Engines.DrawEngine2d.Layers.LayerManager

Inheritance: ManagerBase
Exibir arquivo Open project: artwallace/PsmFramework Class Usage Examples

Public Methods

Method Description
CheckIfLayerExists ( Int32 zIndex ) : System.Boolean
ClearLayers ( ) : void
GetOrCreateLayer ( Int32 zIndex, LayerType type ) : LayerBase
GetOrCreateScreenLayer ( Int32 zIndex ) : ScreenLayer
GetOrCreateWorldLayer ( Int32 zIndex ) : WorldLayer
RemoveLayer ( Int32 zIndex ) : void
RemoveLayer ( LayerBase layer ) : void

Protected Methods

Method Description
Cleanup ( ) : void
Initialize ( ) : void

Private Methods

Method Description
AddLayer ( LayerBase layer ) : void
CleanupLayers ( ) : void
GetOrCreateScreenDebugLayer ( ) : ScreenDebugLayer
GetOrCreateWorldDebugLayer ( ) : WorldDebugLayer
InitializeLayers ( ) : void
LayerManager ( DrawEngine2d drawEngine2d ) : System
Render ( ) : void

Method Details

CheckIfLayerExists() public method

public CheckIfLayerExists ( Int32 zIndex ) : System.Boolean
zIndex System.Int32
return System.Boolean

Cleanup() protected method

protected Cleanup ( ) : void
return void

ClearLayers() public method

public ClearLayers ( ) : void
return void

GetOrCreateLayer() public method

public GetOrCreateLayer ( Int32 zIndex, LayerType type ) : LayerBase
zIndex System.Int32
type LayerType
return LayerBase

GetOrCreateScreenLayer() public method

public GetOrCreateScreenLayer ( Int32 zIndex ) : ScreenLayer
zIndex System.Int32
return ScreenLayer

GetOrCreateWorldLayer() public method

public GetOrCreateWorldLayer ( Int32 zIndex ) : WorldLayer
zIndex System.Int32
return WorldLayer

Initialize() protected method

protected Initialize ( ) : void
return void

RemoveLayer() public method

public RemoveLayer ( Int32 zIndex ) : void
zIndex System.Int32
return void

RemoveLayer() public method

public RemoveLayer ( LayerBase layer ) : void
layer LayerBase
return void