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