trainable units

This commit is contained in:
devZoGok
2023-11-26 08:21:13 +02:00
parent 29679a0e45
commit 6a2b9d8fe8
24 changed files with 215 additions and 31 deletions
+1
View File
@@ -24,6 +24,7 @@ using namespace gameBase;
using namespace std;
namespace battleship{
//TODO remove the player member field
Unit::Unit(Player *player, int id, Vector3 pos, Quaternion rot) : GameObject(GameObject::Type::UNIT, id, player, pos, rot){
this->id = id;
this->player = player;