C# Class ManicDigger.ShadowsSimple

Inheritance: IShadows
ファイルを表示 Open project: GlennMR/800Craft-Client Class Usage Examples

Private Properties

Property Type Description
IsShadow bool

Public Methods

Method Description
GetLight ( int x, int y, int z ) : int
MaybeGetLight ( int x, int y, int z ) : int?
OnGetTerrainBlock ( int x, int y, int z ) : void
OnLocalBuild ( int x, int y, int z ) : void
OnMakeChunk ( int chunkx, int chunky, int chunkz ) : void
OnSetBlock ( int x, int y, int z ) : void
ResetShadows ( ) : void

Private Methods

Method Description
IsShadow ( int x, int y, int z ) : bool

Method Details

GetLight() public method

public GetLight ( int x, int y, int z ) : int
x int
y int
z int
return int

MaybeGetLight() public method

public MaybeGetLight ( int x, int y, int z ) : int?
x int
y int
z int
return int?

OnGetTerrainBlock() public method

public OnGetTerrainBlock ( int x, int y, int z ) : void
x int
y int
z int
return void

OnLocalBuild() public method

public OnLocalBuild ( int x, int y, int z ) : void
x int
y int
z int
return void

OnMakeChunk() public method

public OnMakeChunk ( int chunkx, int chunky, int chunkz ) : void
chunkx int
chunky int
chunkz int
return void

OnSetBlock() public method

public OnSetBlock ( int x, int y, int z ) : void
x int
y int
z int
return void

ResetShadows() public method

public ResetShadows ( ) : void
return void