Add entities w/out logic

This commit is contained in:
Andrew 2020-09-10 00:43:40 +07:00
parent 1bda2c4047
commit 415ede2b91
11 changed files with 153 additions and 8 deletions

9
vesselentity.cpp Normal file
View file

@ -0,0 +1,9 @@
#include "vesselentity.h"
VesselEntity::VesselEntity(int v_id, QString hp, int mx_cap)
{
this->_vessel_id = v_id;
this->_home_port = hp;
this->_max_capacity = mx_cap;
this->_cargo_list.reserve(mx_cap);
}