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
+2
View File
@@ -19,6 +19,8 @@ namespace battleship{
using namespace gameBase;
using namespace configData;
GameObject::GameObject(Type t, int i, Player *pl, vb01::Vector3 vec, vb01::Quaternion quat) : type(t), id(i), player(pl), pos(vec), rot(quat){}
void GameObject::reinit(){
placeAt(pos);
orientAt(rot);