C# Class MyPolarBear.DrawKeeper

Show file Open project: sgdc/sgdc-old Class Usage Examples

Public Methods

Method Description
addEntity ( Entity ent ) : void
addLevelElement ( LevelElement ele ) : void
drawAll ( SpriteBatch spriteBatch ) : void
getEntities ( ) : List
getInstance ( ) : DrawKeeper
getLevelElements ( ) : List
removeEntity ( Entity ent ) : void
removeLevelElement ( LevelElement ele ) : void

Private Methods

Method Description
DrawKeeper ( ) : System

Method Details

addEntity() public method

public addEntity ( Entity ent ) : void
ent Entity
return void

addLevelElement() public method

public addLevelElement ( LevelElement ele ) : void
ele LevelElement
return void

drawAll() public method

public drawAll ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

getEntities() public method

public getEntities ( ) : List
return List

getInstance() public static method

public static getInstance ( ) : DrawKeeper
return DrawKeeper

getLevelElements() public method

public getLevelElements ( ) : List
return List

removeEntity() public method

public removeEntity ( Entity ent ) : void
ent Entity
return void

removeLevelElement() public method

public removeLevelElement ( LevelElement ele ) : void
ele LevelElement
return void