void Start()
    {
        inputHdlr = InputHandler.Instance;                       // TODO: Replace with command pattern

        gridMgrInstance = FindObjectOfType <UnityGridManager>(); // Replace with singleton?

        charTurnInfo = this.gameObject.GetComponent <UnityCharacterTurnInfo>();
    }
Ejemplo n.º 2
0
    private void Awake()
    {
        inputHdlr = InputHandler.Instance;                       // TODO: Replace with command pattern

        gridMgrInstance = FindObjectOfType <UnityGridManager>(); // Replace with singleton?

        charTurnInfo = this.gameObject.GetComponent <UnityCharacterTurnInfo>();

        MovableNodes = new List <GridMovableNode>();
    }