C# Class fCraft.TNTTask

Inheritance: PhysicsTask
Show file Open project: GlennMR/800craft

Public Methods

Method Description
HitPlayer ( World world, Player hitted, Player by ) : void
TNTTask ( World world, Vector3I position, Player owner, bool gun, bool particles ) : System

Protected Methods

Method Description
PerformInternal ( ) : int

Private Methods

Method Description
CreateParticles ( ) : void
Explosion ( ) : bool
TryAddPoint ( int x, int y, int z ) : void

Method Details

HitPlayer() public method

public HitPlayer ( World world, Player hitted, Player by ) : void
world World
hitted Player
by Player
return void

PerformInternal() protected method

protected PerformInternal ( ) : int
return int

TNTTask() public method

public TNTTask ( World world, Vector3I position, Player owner, bool gun, bool particles ) : System
world World
position Vector3I
owner Player
gun bool
particles bool
return System