2024-04-22 19:03:07 +02:00
|
|
|
namespace TanksServer.Models;
|
|
|
|
|
2024-04-29 16:39:37 +02:00
|
|
|
internal record struct TankInfo(
|
2024-04-22 19:44:28 +02:00
|
|
|
int Orientation,
|
2024-04-29 16:39:37 +02:00
|
|
|
string Magazine,
|
2024-04-22 19:44:28 +02:00
|
|
|
PixelPosition Position,
|
|
|
|
bool Moving
|
|
|
|
);
|
|
|
|
|
2024-04-29 16:39:37 +02:00
|
|
|
internal record struct PlayerInfo(
|
2024-04-22 19:44:28 +02:00
|
|
|
string Name,
|
|
|
|
Scores Scores,
|
2024-04-22 20:13:31 +02:00
|
|
|
string Controls,
|
2024-04-22 19:44:28 +02:00
|
|
|
TankInfo? Tank
|
|
|
|
);
|