C# Class MiningGameServer.Blocks.BlockPistonBase

Inheritance: Block
Mostra file Open project: geel9/Minor-Destruction

Public Methods

Method Description
BlockPistonBase ( ) : System
ClosePiston ( int x, int y, PistonFlags direction ) : void
OnBlockPlaced ( int x, int y, bool notify, NetworkPlayer placer = null ) : void
OnBlockRemoved ( int x, int y ) : void
OnBlockUsed ( int x, int y, NetworkPlayer user ) : void
OpenPiston ( int x, int y, PistonFlags direction ) : bool

Method Details

BlockPistonBase() public method

public BlockPistonBase ( ) : System
return System

ClosePiston() public method

public ClosePiston ( int x, int y, PistonFlags direction ) : void
x int
y int
direction PistonFlags
return void

OnBlockPlaced() public method

public OnBlockPlaced ( int x, int y, bool notify, NetworkPlayer placer = null ) : void
x int
y int
notify bool
placer MiningGameServer.NetworkPlayer
return void

OnBlockRemoved() public method

public OnBlockRemoved ( int x, int y ) : void
x int
y int
return void

OnBlockUsed() public method

public OnBlockUsed ( int x, int y, NetworkPlayer user ) : void
x int
y int
user MiningGameServer.NetworkPlayer
return void

OpenPiston() public method

public OpenPiston ( int x, int y, PistonFlags direction ) : bool
x int
y int
direction PistonFlags
return bool