implemented central Game class

This commit is contained in:
devZoGok
2023-10-08 15:08:45 +03:00
parent e8432da24e
commit b895a85378
26 changed files with 174 additions and 125 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
namespace battleship{
using namespace vb01;
ResourceDeposit::ResourceDeposit(int id, Vector3 pos, Quaternion rot) : GameObject(GameObject::Type::RESOURCE_DEPOSIT, id, nullptr, pos, rot){
ResourceDeposit::ResourceDeposit(Player *player, int id, Vector3 pos, Quaternion rot) : GameObject(GameObject::Type::RESOURCE_DEPOSIT, id, player, pos, rot){
initModel();
placeAt(pos);
orientAt(rot);