separate tick steps
This commit is contained in:
parent
898a9cedc1
commit
a9aaf899a2
28 changed files with 239 additions and 194 deletions
|
@ -1,5 +1,3 @@
|
|||
using TanksServer.Services;
|
||||
|
||||
namespace TanksServer.Models;
|
||||
|
||||
internal readonly record struct FloatPosition(double X, double Y)
|
||||
|
|
7
TanksServer/Models/ServicePointDisplayConfiguration.cs
Normal file
7
TanksServer/Models/ServicePointDisplayConfiguration.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace TanksServer.Services;
|
||||
|
||||
internal sealed class ServicePointDisplayConfiguration
|
||||
{
|
||||
public string Hostname { get; set; } = string.Empty;
|
||||
public int Port { get; set; }
|
||||
}
|
|
@ -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; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue