24 lines
525 B
C#
24 lines
525 B
C#
using System;
|
|
|
|
namespace Minigames.FortFight.Data
|
|
{
|
|
/// <summary>
|
|
/// Represents a player in the Fort Fight minigame
|
|
/// </summary>
|
|
[Serializable]
|
|
public class PlayerData
|
|
{
|
|
public string PlayerName;
|
|
public bool IsAI;
|
|
public int PlayerIndex; // 0 for Player One, 1 for Player Two/AI
|
|
|
|
public PlayerData(string name, bool isAI, int playerIndex)
|
|
{
|
|
PlayerName = name;
|
|
IsAI = isAI;
|
|
PlayerIndex = playerIndex;
|
|
}
|
|
}
|
|
}
|
|
|