This repository has been archived on 2026-07-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
servicepoint-tanks/TanksServer/Models/Tank.cs
2024-04-07 13:02:49 +02:00

8 lines
252 B
C#

namespace TanksServer.Models;
internal sealed class Tank(Player player, PixelPosition spawnPosition)
{
public Player Owner { get; } = player;
public int Rotation { get; set; }
public PixelPosition Position { get; set; } = spawnPosition;
}