show tank infos in client
This commit is contained in:
parent
a50a9770c9
commit
0f4eec6343
1 changed files with 73 additions and 26 deletions
|
|
@ -1,3 +1,15 @@
|
|||
namespace TanksServer.Models;
|
||||
|
||||
internal sealed record class PlayerInfo(string Name, Scores Scores, PlayerControls Controls);
|
||||
internal sealed record class TankInfo(
|
||||
int Orientation,
|
||||
byte ExplosiveBullets,
|
||||
PixelPosition Position,
|
||||
bool Moving
|
||||
);
|
||||
|
||||
internal sealed record class PlayerInfo(
|
||||
string Name,
|
||||
Scores Scores,
|
||||
PlayerControls Controls,
|
||||
TankInfo? Tank
|
||||
);
|
||||
|
|
|
|||
Reference in a new issue