C# Class MiningGameServer.Player.PlayerClassDestroyer

Inheritance: PlayerClass
Show file Open project: geel9/Minor-Destruction

Public Properties

Property Type Description
BlockInHand short
BlockPickupLocation Vector2
BlockPickupTimer int
DestroyerUpdateMask byte

Public Methods

Method Description
ClearUpdateMask ( ) : void
GetPlayerInventorySize ( ) : int
GetPlayerSprintVelocity ( ) : float
GetPlayerWalkVelocity ( ) : float
OnDeath ( ) : void
OnSpawn ( ) : void
PickupBlock ( Vector2 location ) : void
PlaceBlock ( ) : void
PlayerClassDestroyer ( NetworkPlayer player ) : System
Update_PostPhys ( GameTime time, bool movedSince = false ) : void
WriteState ( Packet p ) : void

Method Details

ClearUpdateMask() public method

public ClearUpdateMask ( ) : void
return void

GetPlayerInventorySize() public method

public GetPlayerInventorySize ( ) : int
return int

GetPlayerSprintVelocity() public method

public GetPlayerSprintVelocity ( ) : float
return float

GetPlayerWalkVelocity() public method

public GetPlayerWalkVelocity ( ) : float
return float

OnDeath() public method

public OnDeath ( ) : void
return void

OnSpawn() public method

public OnSpawn ( ) : void
return void

PickupBlock() public method

public PickupBlock ( Vector2 location ) : void
location Vector2
return void

PlaceBlock() public method

public PlaceBlock ( ) : void
return void

PlayerClassDestroyer() public method

public PlayerClassDestroyer ( NetworkPlayer player ) : System
player NetworkPlayer
return System

Update_PostPhys() public method

public Update_PostPhys ( GameTime time, bool movedSince = false ) : void
time Microsoft.Xna.Framework.GameTime
movedSince bool
return void

WriteState() public method

public WriteState ( Packet p ) : void
p Packet
return void

Property Details

BlockInHand public property

public short BlockInHand
return short

BlockPickupLocation public property

public Vector2 BlockPickupLocation
return Vector2

BlockPickupTimer public property

public int BlockPickupTimer
return int

DestroyerUpdateMask public property

public byte DestroyerUpdateMask
return byte