C# Class FBClient.Core.Players.OnlineHumanPlayer

Inheritance: BaseHumanPlayer
Mostra file Open project: Noxalus/Final-Bomber

Public Properties

Property Type Description
Ping float

Public Methods

Method Description
ChangeLookDirection ( byte newLookDirection ) : void
OnlineHumanPlayer ( int id, int controlSettingsId ) : System
OnlineHumanPlayer ( int id, int controlSettingsId, PlayerStats stats ) : System
SetNextPosition ( Vector2 nextPosition ) : void

Protected Methods

Method Description
Move ( GameTime gameTime, Map map, int hazardMap ) : void
MoveFromEdgeWall ( ) : void
RemoveBadItem ( ) : void

Private Methods

Method Description
SendMovement ( ) : void

Method Details

ChangeLookDirection() public method

public ChangeLookDirection ( byte newLookDirection ) : void
newLookDirection byte
return void

Move() protected method

protected Move ( GameTime gameTime, Map map, int hazardMap ) : void
gameTime Microsoft.Xna.Framework.GameTime
map FBClient.WorldEngine.Map
hazardMap int
return void

MoveFromEdgeWall() protected method

protected MoveFromEdgeWall ( ) : void
return void

OnlineHumanPlayer() public method

public OnlineHumanPlayer ( int id, int controlSettingsId ) : System
id int
controlSettingsId int
return System

OnlineHumanPlayer() public method

public OnlineHumanPlayer ( int id, int controlSettingsId, PlayerStats stats ) : System
id int
controlSettingsId int
stats FBLibrary.Core.PlayerStats
return System

RemoveBadItem() protected method

protected RemoveBadItem ( ) : void
return void

SetNextPosition() public method

public SetNextPosition ( Vector2 nextPosition ) : void
nextPosition Vector2
return void

Property Details

Ping public_oe property

public float Ping
return float