2024-04-07 19:05:50 +02:00
|
|
|
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 19:05:50 +02:00
|
|
|
{
|
2024-04-07 21:09:36 +02:00
|
|
|
public Player Owner { get; } = tankOwner;
|
2024-04-07 19:05:50 +02:00
|
|
|
|
|
|
|
public FloatPosition Position { get; set; } = position;
|
|
|
|
|
|
|
|
public double Rotation { get; set; } = rotation;
|
2024-04-11 20:48:21 +02:00
|
|
|
}
|