This repository has been archived on 2026-07-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
servicepoint-tanks/TanksServer/Graphics/GamePixel.cs
2024-04-15 20:34:23 +02:00

21 lines
355 B
C#

namespace TanksServer.Graphics;
internal sealed class GamePixel
{
public Player? BelongsTo { get; set; }
public GamePixelEntityType? EntityType { get; set; }
public void Clear()
{
BelongsTo = null;
EntityType = null;
}
}
internal enum GamePixelEntityType : byte
{
Wall = 0x0,
Tank = 0x1,
Bullet = 0x2
}