Dependencies:   AmmoPusher AmmoSupplier Shooter

Dependents:   OBROT_ALL

Revision:
3:bf4ae302724c
Parent:
1:3b0b583eba77
--- a/ShootingSystem.cpp	Wed Oct 14 06:02:19 2015 +0000
+++ b/ShootingSystem.cpp	Thu Oct 15 08:45:53 2015 +0000
@@ -60,6 +60,14 @@
     }
 }
 
+ShootingSystem::~ShootingSystem(){
+    delete mShooterAngleServo;
+    delete mAmmoPusher;
+    delete mAmmoSupplier;
+    delete mShooter;
+    delete mPositionManager;
+}
+
 void ShootingSystem::waiting( Command command ){
     if ( command.isSupplying() ){
         mAmmoSupplier->supply();