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
@@ -17,7 +17,7 @@ using namespace vb01;
using namespace std;
namespace battleship{
Vehicle::Vehicle(Player *player, int id, Vector3 pos, Quaternion rot) : Unit(player, id, pos, rot){
Vehicle::Vehicle(Player *player, int id, Vector3 pos, Quaternion rot, Unit::State state) : Unit(player, id, pos, rot, state){
initProperties();
debugMat = new Material(Root::getSingleton()->getLibPath() + "texture");