freezer ships can freeze units

This commit is contained in:
devZoGok
2025-06-08 10:47:20 +03:00
parent 83b32bb434
commit 44a22ab98e
8 changed files with 43 additions and 8 deletions
+3
View File
@@ -8,6 +8,7 @@
#include "resourceDeposit.h"
#include "pointDefense.h"
#include "extractor.h"
#include "freezer.h"
#include "researchStruct.h"
#include "missile.h"
#include "cruiseMissile.h"
@@ -37,6 +38,8 @@ namespace battleship{
return new ResourceRover(player, id, pos, rot, Unit::State::STAND_GROUND);
case UnitClass::SUBMARINE:
return new Submarine(player, id, pos, rot, Unit::State::STAND_GROUND);
case UnitClass::FREEZER:
return new Freezer(player, id, pos, rot, Unit::State::STAND_GROUND);
default:
return new Vehicle(player, id, pos, rot, Unit::State::STAND_GROUND);
}