C# Class Dwarrowdelf.Server.VisionTrackerLOS

Inheritance: VisionTrackerBase
显示文件 Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

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

Private Methods

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

public AddLiving ( LivingObject living ) : void
living LivingObject
return void

RemoveLiving() public method

public RemoveLiving ( LivingObject living ) : void
living LivingObject
return void

Sees() public method

public Sees ( IntVector3 p ) : bool
p IntVector3
return bool

VisionTrackerLOS() public method

public VisionTrackerLOS ( Player player, EnvironmentObject env ) : System
player Player
env EnvironmentObject
return System