Defines a data structure for representing a fighter in an event. Stores attributes such as the fighter's name, health, attack power, and whether they are AI controlled.
using System;
using System.Collections.Generic;
namespace Keyboard_Warriors_.Models
{
public struct EventFighter
{
public string Name { get; set; }
public int Hp { get; set; }
public int Attack { get; set; }
public bool IsAI { get; set; }
public EventFighter( string name, int hp, int attack, bool isAI )
{
Name = name;
Hp = hp;
Attack = attack;
IsAI = isAI;
}
}
}