mamontow 2f14bd0bd2 Revert "Modified cap system"
This reverts commit 3553af9210e35a1d638834569b8d92f4155e2f97.
2021-08-31 22:39:53 +03:00

37 lines
850 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TileInfo : MonoBehaviour
{
public Vector3 tilePosition;
public bool canMove = true;
public bool canBeAttacked = true;
public bool canBuildHere = true;
public GameObject buildingOnTile;
public TileOwner tileOwnerIndex = TileOwner.Neutral; //recieved by TileManager on game start
public List<TileOwner> easyCaptureFor = new List<TileOwner>();
public List<TileOwner> checkedFor = new List<TileOwner>();
public bool isBorderTile = false;
public bool isChecked = false;
public bool isLocked = false;
#region Pathfinding values
[Header("Pathfinding Settings")]
public float gCost = 0f;
public float hCost = 0f;
public float fCost = 0f;
public TileInfo parent = null;
#endregion
}