mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
19 lines
403 B
C++
19 lines
403 B
C++
#include "resourceDeposit.h"
|
|
|
|
namespace battleship{
|
|
using namespace vb01;
|
|
|
|
ResourceDeposit::ResourceDeposit(Player *player, int id, Vector3 pos, Quaternion rot) : GameObject(GameObject::Type::RESOURCE_DEPOSIT, id, player, pos, rot){
|
|
initProperties();
|
|
initModel();
|
|
initHitbox();
|
|
placeAt(pos);
|
|
orientAt(rot);
|
|
}
|
|
|
|
ResourceDeposit::~ResourceDeposit(){
|
|
destroyHitbox();
|
|
destroyModel();
|
|
}
|
|
}
|