C# Class FBClient.Core.Players.OnlineHumanPlayer

Inheritance: BaseHumanPlayer
Afficher le fichier Open project: Noxalus/Final-Bomber

Méthodes publiques

Свойство Type Description
Ping float

Méthodes publiques

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

Méthodes protégées

Méthode Description
Move ( GameTime gameTime, Map map, int hazardMap ) : void
MoveFromEdgeWall ( ) : void
RemoveBadItem ( ) : void

Private Methods

Méthode Description
SendMovement ( ) : void

Method Details

ChangeLookDirection() public méthode

public ChangeLookDirection ( byte newLookDirection ) : void
newLookDirection byte
Résultat void

Move() protected méthode

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

MoveFromEdgeWall() protected méthode

protected MoveFromEdgeWall ( ) : void
Résultat void

OnlineHumanPlayer() public méthode

public OnlineHumanPlayer ( int id, int controlSettingsId ) : System
id int
controlSettingsId int
Résultat System

OnlineHumanPlayer() public méthode

public OnlineHumanPlayer ( int id, int controlSettingsId, PlayerStats stats ) : System
id int
controlSettingsId int
stats FBLibrary.Core.PlayerStats
Résultat System

RemoveBadItem() protected méthode

protected RemoveBadItem ( ) : void
Résultat void

SetNextPosition() public méthode

public SetNextPosition ( Vector2 nextPosition ) : void
nextPosition Vector2
Résultat void

Property Details

Ping public_oe property

public float Ping
Résultat float