Add entities w/out logic
This commit is contained in:
parent
1bda2c4047
commit
415ede2b91
11 changed files with 153 additions and 8 deletions
9
vesselentity.cpp
Normal file
9
vesselentity.cpp
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue