using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterInfo { public string Name { get; private set; } public E_TEAM Team { get; private set; } public int MoveRange { get; private set; } public int CurrentX { get; private set; } public int CurrentY { get; private set; } public CharacterInfo(string name, E_TEAM team, int moveRange) { Name = name; Team = team; MoveRange = moveRange; } public void UpdatePosition(int x, int y) { CurrentX = x; CurrentY = y; } }