mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
Added the Unit::State constructor argument
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user