initialize repo
This commit is contained in:
16
Lib/Civilization.Core/Tile/Tile.cs
Normal file
16
Lib/Civilization.Core/Tile/Tile.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
|
||||
namespace Civilization.Core.Tile;
|
||||
|
||||
public class Tile
|
||||
{
|
||||
public Vec2I Position { get; }
|
||||
public TileType Type { get; set; } = TileType.Plain;
|
||||
public int? OwnerId { get; set; } = null;
|
||||
|
||||
public Tile(Vec2I position)
|
||||
{
|
||||
Position = position;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user