improve spawn position checks
This commit is contained in:
parent
91ab911f9c
commit
ad211433fb
1 changed files with 147 additions and 80 deletions
|
|
@ -1,10 +1,10 @@
|
|||
namespace TanksServer.Models;
|
||||
|
||||
internal sealed class Bullet(Player tankOwner, FloatPosition position, double rotation)
|
||||
internal sealed class Bullet(Player tankOwner, FloatPosition position, double rotation): IMapEntity
|
||||
{
|
||||
public Player Owner { get; } = tankOwner;
|
||||
|
||||
public FloatPosition Position { get; set; } = position;
|
||||
|
||||
public double Rotation { get; set; } = rotation;
|
||||
}
|
||||
}
|
||||
Reference in a new issue