separate tick steps

This commit is contained in:
Vinzenz Schroeter 2024-04-07 19:52:16 +02:00
parent 898a9cedc1
commit a9aaf899a2
28 changed files with 239 additions and 194 deletions

View file

@ -1,5 +1,3 @@
using TanksServer.Services;
namespace TanksServer.Models;
internal readonly record struct FloatPosition(double X, double Y)

View file

@ -0,0 +1,7 @@
namespace TanksServer.Services;
internal sealed class ServicePointDisplayConfiguration
{
public string Hostname { get; set; } = string.Empty;
public int Port { get; set; }
}

View file

@ -18,4 +18,6 @@ internal sealed class Tank(Player player, FloatPosition spawnPosition)
public FloatPosition Position { get; set; } = spawnPosition;
public DateTime NextShotAfter { get; set; }
public bool Moved { get; set; }
}