C# Class Dwarrowdelf.Server.VisionTrackerLOS

Inheritance: VisionTrackerBase
Afficher le fichier Open project: tomba/dwarrowdelf Class Usage Examples

Méthodes publiques

Méthode Description
AddLiving ( LivingObject living ) : void
RemoveLiving ( LivingObject living ) : void
Sees ( IntVector3 p ) : bool
VisionTrackerLOS ( Player player, EnvironmentObject env ) : System

Private Methods

Méthode Description
CollectLocations ( ) : HashSet
CollectObjects ( HashSet knownLocs ) : HashSet
EventIsNear ( IntVector3 p ) : bool
HandleNewTerrainsAndObjects ( ) : void
OnWorldChanged ( Change change ) : void
SendNewObjects ( IEnumerable revealedObjects ) : void
SendNewTerrains ( IEnumerable revealedLocations ) : void
Start ( ) : void
Stop ( ) : void

Method Details

AddLiving() public méthode

public AddLiving ( LivingObject living ) : void
living LivingObject
Résultat void

RemoveLiving() public méthode

public RemoveLiving ( LivingObject living ) : void
living LivingObject
Résultat void

Sees() public méthode

public Sees ( IntVector3 p ) : bool
p IntVector3
Résultat bool

VisionTrackerLOS() public méthode

public VisionTrackerLOS ( Player player, EnvironmentObject env ) : System
player Player
env EnvironmentObject
Résultat System