C# Class FBServer.Core.Player

Inheritance: BasePlayer
Afficher le fichier Open project: Noxalus/Final-Bomber Class Usage Examples

Méthodes publiques

Méthode Description
Destroy ( ) : void
MovePlayer ( BaseMap map, float customDeltaTime = null ) : void
Player ( int id ) : System
Player ( int id, PlayerStats stats ) : System
Remove ( ) : void
SetLookDirection ( LookDirection direction, double ping = null ) : void
Update ( ) : void

Private Methods

Méthode Description
RealMovePlayer ( float customDeltaTime = null ) : bool
SendPosition ( bool exceptMe = true ) : void

Method Details

Destroy() public méthode

public Destroy ( ) : void
Résultat void

MovePlayer() public méthode

public MovePlayer ( BaseMap map, float customDeltaTime = null ) : void
map FBLibrary.Core.BaseEntities.BaseMap
customDeltaTime float
Résultat void

Player() public méthode

public Player ( int id ) : System
id int
Résultat System

Player() public méthode

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

Remove() public méthode

public Remove ( ) : void
Résultat void

SetLookDirection() public méthode

public SetLookDirection ( LookDirection direction, double ping = null ) : void
direction LookDirection
ping double
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void