Свойство | Тип | Описание | |
---|---|---|---|
playerInfo | PlayerInformation | ||
shots | Shot>.Dictionary | ||
state | PlayerState |
Метод | Описание | |
---|---|---|
Die ( |
||
Dispose ( ) : void | ||
Draw ( |
||
DrawCallsign ( |
Draws the callsign behind the Player.
|
|
Player ( AngryTanks.Client.World world, PlayerInformation playerInfo ) : System | ||
Spawn ( Vector2 position, System.Single rotation ) : void | ||
Update ( |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void | ||
GetTankSize ( AngryTanks.Client.World world, PlayerInformation playerInfo ) : Vector2 | ||
GetTexture ( AngryTanks.Client.World world, PlayerInformation playerInfo ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
HandleReceivedMessage ( object sender, AngryTanks.Client.ServerLinkMessageEvent message ) : void | ||
Shoot ( Byte shotSlot, Vector2 initialPosition, System.Single rotation, Vector2 initialVelocity, bool local ) : void | ||
Shoot ( Byte shotSlot, bool local ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public Draw ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
public DrawCallsign ( |
||
gameTime | ||
spriteBatch | ||
Результат | void |
protected static GetTankSize ( AngryTanks.Client.World world, PlayerInformation playerInfo ) : Vector2 | ||
world | AngryTanks.Client.World | |
playerInfo | PlayerInformation | |
Результат | Vector2 |
protected static GetTexture ( AngryTanks.Client.World world, PlayerInformation playerInfo ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
world | AngryTanks.Client.World | |
playerInfo | PlayerInformation | |
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |
protected HandleReceivedMessage ( object sender, AngryTanks.Client.ServerLinkMessageEvent message ) : void | ||
sender | object | |
message | AngryTanks.Client.ServerLinkMessageEvent | |
Результат | void |
public Player ( AngryTanks.Client.World world, PlayerInformation playerInfo ) : System | ||
world | AngryTanks.Client.World | |
playerInfo | PlayerInformation | |
Результат | System |
protected Shoot ( Byte shotSlot, Vector2 initialPosition, System.Single rotation, Vector2 initialVelocity, bool local ) : void | ||
shotSlot | Byte | |
initialPosition | Vector2 | |
rotation | System.Single | |
initialVelocity | Vector2 | |
local | bool | |
Результат | void |
protected Shoot ( Byte shotSlot, bool local ) : void | ||
shotSlot | Byte | |
local | bool | |
Результат | void |
public Spawn ( Vector2 position, System.Single rotation ) : void | ||
position | Vector2 | |
rotation | System.Single | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |