C# Class Ballz.GameSession.World.World

World snapshot represents a discrete snapshot of the game world. Thus each snapshot holds the state of Terrain, entities etc for their corresponding GameTime.
显示文件 Open project: SpagAachen/Ballz Class Usage Examples

Public Properties

Property Type Description
GraphicsEvents List
IsSomethingMoving bool

Public Methods

Method Description
AddEntity ( Entity e ) : void
EntityById ( int id ) : Entity
RemoveEntity ( Entity e ) : void
World ( Terrain newTerrain ) : System

Method Details

AddEntity() public method

public AddEntity ( Entity e ) : void
e Entity
return void

EntityById() public method

public EntityById ( int id ) : Entity
id int
return Entity

RemoveEntity() public method

public RemoveEntity ( Entity e ) : void
e Entity
return void

World() public method

public World ( Terrain newTerrain ) : System
newTerrain Terrain
return System

Property Details

GraphicsEvents public_oe property

public List GraphicsEvents
return List

IsSomethingMoving public_oe property

public bool IsSomethingMoving
return bool