C# Class Cakewalk.Server.Zones.Zone

Represents one zone in the world
Afficher le fichier Open project: Cakez0r/Cakewalk

Méthodes publiques

Méthode Description
AddEntity ( ServerEntity entity ) : void

Add an entity to this zone

PushNearbyEntities ( ServerEntity entity ) : void

Sends states of nearby enemies to each other

RemoveEntity ( ServerEntity entity ) : void

Remove an entity from this zone

Zone ( int id ) : System.Collections.Generic

Create a new zone

Method Details

AddEntity() public méthode

Add an entity to this zone
public AddEntity ( ServerEntity entity ) : void
entity ServerEntity
Résultat void

PushNearbyEntities() public méthode

Sends states of nearby enemies to each other
public PushNearbyEntities ( ServerEntity entity ) : void
entity ServerEntity
Résultat void

RemoveEntity() public méthode

Remove an entity from this zone
public RemoveEntity ( ServerEntity entity ) : void
entity ServerEntity
Résultat void

Zone() public méthode

Create a new zone
public Zone ( int id ) : System.Collections.Generic
id int
Résultat System.Collections.Generic