C# Class FBServer.Core.Player

Inheritance: BasePlayer
显示文件 Open project: Noxalus/Final-Bomber Class Usage Examples

Public Methods

Method 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

Method Description
RealMovePlayer ( float customDeltaTime = null ) : bool
SendPosition ( bool exceptMe = true ) : void

Method Details

Destroy() public method

public Destroy ( ) : void
return void

MovePlayer() public method

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

Player() public method

public Player ( int id ) : System
id int
return System

Player() public method

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

Remove() public method

public Remove ( ) : void
return void

SetLookDirection() public method

public SetLookDirection ( LookDirection direction, double ping = null ) : void
direction LookDirection
ping double
return void

Update() public method

public Update ( ) : void
return void