예제 #1
0
 private void Start()
 {
     timesUpdated      = 0;
     spriteRenderer    = GetComponent <SpriteRenderer>();
     minerMineShaft    = GetComponentInParent <MineShaft>();
     loadingPosition   = minerMineShaft.GetEndOfMine();
     unloadingPosition = minerMineShaft.GetMineshaftContainer();
     shaftContainer    = minerMineShaft.GetElevatorShaftContainer();
     capacity          = Mathf.RoundToInt(GameCore.Instance.GetAmountOfMineshafts() * GameCore.Instance.Data.NewShaftValueMultiplier) + 5;
 }
예제 #2
0
 public void AddNewLoadingPositions(MineContainer newShaftElevatorShaft)
 {
     loadingPositions.Add(newShaftElevatorShaft);
 }