Exemple #1
0
        // This function is used to turn all the tanks back on and reset their positions and properties.
        private void ResetAllTanks()
        {
            healthTank1.Reset();
            movementTank1.Reset();
            shootingtank1.Reset();

            healthTank2.Reset();
            movementTank2.Reset();
            shootingtank2.Reset();
        }
Exemple #2
0
 public override void AgentReset()
 {
     healthTankSelf.Reset();
     movementTankSelf.Reset();
     shootingTankSelf.Reset();
 }