C# Class Cakewalk.Server.Zones.Zone

Represents one zone in the world
Datei anzeigen Open project: Cakez0r/Cakewalk

Public Methods

Method 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 method

Add an entity to this zone
public AddEntity ( ServerEntity entity ) : void
entity ServerEntity
return void

PushNearbyEntities() public method

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

RemoveEntity() public method

Remove an entity from this zone
public RemoveEntity ( ServerEntity entity ) : void
entity ServerEntity
return void

Zone() public method

Create a new zone
public Zone ( int id ) : System.Collections.Generic
id int
return System.Collections.Generic