2024-04-22 19:03:07 +02:00
|
|
|
namespace TanksServer.Models;
|
|
|
|
|
2024-04-22 19:44:28 +02:00
|
|
|
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
|
|
|
|
);
|