Added the Unit::State constructor argument

This commit is contained in:
devZoGok
2024-02-17 11:21:01 +02:00
parent 56ba61e056
commit 8def62a53c
19 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ namespace battleship{
using namespace vb01;
using namespace gameBase;
Engineer::Engineer(Player *player, int id, Vector3 pos, Quaternion rot) : Vehicle(player, id, pos, rot){}
Engineer::Engineer(Player *player, int id, Vector3 pos, Quaternion rot, Unit::State state) : Vehicle(player, id, pos, rot, state){}
void Engineer::build(Order order){
if(pathPoints.empty()){