public void SetData(BattleTileData.RootObject data) { MoveCost = data.MoveCost; Name = data.GetName(); TileName = data.TileName; Comment = data.GetComment(); }
public BattleField(Vector2Int position, BattleTileData.RootObject data) { Position = position; MoveCost = data.MoveCost; Name = data.GetName(); TileName = data.TileName; Comment = data.GetComment(); }