C# Class Dwarrowdelf.Server.EnvWaterHandler

Exibir arquivo Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method Description
AddWater ( IntVector3 p ) : void
Destruct ( ) : void
EnvWaterHandler ( EnvironmentObject env ) : System
RemoveWater ( IntVector3 p ) : void
Rescan ( ) : void

Private Methods

Method Description
CanWaterFlow ( IntVector3 from, IntVector3 to ) : bool
GetCurrentWaterLevel ( IntVector3 p ) : int
HandleWaterAt ( IntVector3 src ) : void
HandleWaterFlowDown ( IntVector3 src, int &srcLevel ) : void
HandleWaterFlowPlanar ( IntVector3 src, int &srcLevel ) : void
IAStarTarget ( IntVector3 from ) : IEnumerable
IAStarTarget ( IntVector3 p ) : bool
IAStarTarget ( IntVector3 location ) : ushort
IAStarTarget ( IntVector3 src, IntVector3 dst ) : ushort
OnTick ( ) : void
ScanWaterTiles ( ) : void

Method Details

AddWater() public method

public AddWater ( IntVector3 p ) : void
p IntVector3
return void

Destruct() public method

public Destruct ( ) : void
return void

EnvWaterHandler() public method

public EnvWaterHandler ( EnvironmentObject env ) : System
env EnvironmentObject
return System

RemoveWater() public method

public RemoveWater ( IntVector3 p ) : void
p IntVector3
return void

Rescan() public method

public Rescan ( ) : void
return void