dropping depth charges

This commit is contained in:
devZoGok
2026-01-28 19:12:51 +02:00
parent 5e93806088
commit f70532788a
11 changed files with 151 additions and 24 deletions
+3
View File
@@ -14,6 +14,7 @@
#include "cruiseMissile.h"
#include "iceSheet.h"
#include "shell.h"
#include "depthCharge.h"
#include "defConfigs.h"
#include <solUtil.h>
@@ -76,6 +77,8 @@ namespace battleship{
return new CruiseMissile(unit, id, targetPos, pos, rot);
case ProjectileClass::MISSILE:
return new Missile(unit, id, targetPos, pos, rot);
case ProjectileClass::DEPTH_CHARGE:
return new DepthCharge(unit, id, pos, rot);
default:
return new Projectile(unit, id, pos, rot);
}