Esempio n. 1
0
 public PathFinder()
 {
     cells           = CellManager.GetInstance();
     selectedUnit    = UnitSelection.GetInstance();
     units           = UnitsList.GetInstance();
     playerControler = PlayerControler.GetInstance();
 }
Esempio n. 2
0
 private void Awake()
 {
     playerControler = PlayerControler.GetInstance();
     unitSelection   = UnitSelection.GetInstance();
     cellManager     = CellManager.GetInstance();
     actionBT        = new Button[3] {
         pathMoveBT, healBT, captureBT
     };
 }
Esempio n. 3
0
 private void Start()
 {
     unitsList     = UnitsList.GetInstance();
     unitSelection = UnitSelection.GetInstance();
     pathFinder    = PathFinder.GetInstance();
 }
Esempio n. 4
0
 private void Awake()
 {
     cellSelection = CellSelection.GetInstance();
     unitsList     = UnitsList.GetInstance();
     unitSelection = UnitSelection.GetInstance();
 }