C# Class MiningGameServer.Blocks.BlockPistonBase

Inheritance: Block
Afficher le fichier Open project: geel9/Minor-Destruction

Méthodes publiques

Méthode 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 méthode

public BlockPistonBase ( ) : System
Résultat System

ClosePiston() public méthode

public ClosePiston ( int x, int y, PistonFlags direction ) : void
x int
y int
direction PistonFlags
Résultat void

OnBlockPlaced() public méthode

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

OnBlockRemoved() public méthode

public OnBlockRemoved ( int x, int y ) : void
x int
y int
Résultat void

OnBlockUsed() public méthode

public OnBlockUsed ( int x, int y, NetworkPlayer user ) : void
x int
y int
user MiningGameServer.NetworkPlayer
Résultat void

OpenPiston() public méthode

public OpenPiston ( int x, int y, PistonFlags direction ) : bool
x int
y int
direction PistonFlags
Résultat bool