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.
Afficher le fichier Open project: SpagAachen/Ballz Class Usage Examples

Méthodes publiques

Свойство Type Description
GraphicsEvents List
IsSomethingMoving bool

Méthodes publiques

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

Method Details

AddEntity() public méthode

public AddEntity ( Entity e ) : void
e Entity
Résultat void

EntityById() public méthode

public EntityById ( int id ) : Entity
id int
Résultat Entity

RemoveEntity() public méthode

public RemoveEntity ( Entity e ) : void
e Entity
Résultat void

World() public méthode

public World ( Terrain newTerrain ) : System
newTerrain Terrain
Résultat System

Property Details

GraphicsEvents public_oe property

public List GraphicsEvents
Résultat List

IsSomethingMoving public_oe property

public bool IsSomethingMoving
Résultat bool