C# Class fCraft.PlantTask

Inheritance: PhysicsTask
Show file Open project: GlennMR/800craft Class Usage Examples

Public Methods

Method Description
GetRandomDelay ( ) : int
PlantTask ( World w, short x, short y, short z ) : System

Protected Methods

Method Description
PerformInternal ( ) : int

Private Methods

Method Description
CanGrow ( int height ) : bool
MakeTrunks ( short height, TreeType type ) : void
TypeByBlock ( Block b ) : TreeType

Method Details

GetRandomDelay() public static method

public static GetRandomDelay ( ) : int
return int

PerformInternal() protected method

protected PerformInternal ( ) : int
return int

PlantTask() public method

public PlantTask ( World w, short x, short y, short z ) : System
w World
x short
y short
z short
return System