servicepoint-tanks/TanksServer/Models/Bullet.cs

10 lines
303 B
C#
Raw Normal View History

namespace TanksServer.Models;
2024-04-11 20:48:21 +02:00
internal sealed class Bullet(Player tankOwner, FloatPosition position, double rotation): IMapEntity
{
2024-04-07 21:09:36 +02:00
public Player Owner { get; } = tankOwner;
public FloatPosition Position { get; set; } = position;
public double Rotation { get; set; } = rotation;
2024-04-11 20:48:21 +02:00
}