11 lines
275 B
C#
11 lines
275 B
C#
![]() |
using TanksServer.GameLogic;
|
||
|
|
||
|
namespace TanksServer.Models;
|
||
|
|
||
|
internal sealed class PowerUp(FloatPosition position): IMapEntity
|
||
|
{
|
||
|
public FloatPosition Position { get; set; } = position;
|
||
|
|
||
|
public PixelBounds Bounds => Position.GetBoundsForCenter(MapService.TileSize);
|
||
|
}
|