Ejemplo n.º 1
0
    public void EnableTurbine()
    {
        //used to display the numbers for the output values next to the minimap
        StartCoroutine(simulator.calculateAddedPower());

        turbineAnim.EnableRotation();
        turbineSpawner.numberOfTurbinesOperating++;
    }
Ejemplo n.º 2
0
    public void EnableTurbine()
    {
        //used to display the numbers for the output values next to the minimap
        StartCoroutine(simulator.calculateAddedPower());

        turbineAnim.EnableRotation();
        turbineSpawner.numberOfTurbinesOperating++;
        damager.AddTurbineToList(gameObject); //adds the turbine game object to the list of "ready for damage" list.
    }