initialize repo
This commit is contained in:
11
Lib/Civilization.Core/Game/Player.cs
Normal file
11
Lib/Civilization.Core/Game/Player.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
|
||||
namespace Civilization.Core.Game;
|
||||
|
||||
public class Player(int id, string name, ColorRGBA color, bool isHuman = true)
|
||||
{
|
||||
public int Id { get; } = id;
|
||||
public string Name { get; } = name;
|
||||
public ColorRGBA Color { get; } = color;
|
||||
public bool IsHuman { get; } = isHuman;
|
||||
}
|
Reference in New Issue
Block a user