Add entities w/out logic
This commit is contained in:
parent
1bda2c4047
commit
415ede2b91
11 changed files with 153 additions and 8 deletions
21
vesselentity.h
Normal file
21
vesselentity.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef VESSELENTITY_H
|
||||
#define VESSELENTITY_H
|
||||
|
||||
#include "cargoentity.h"
|
||||
|
||||
#include <QString>
|
||||
#include <vector>
|
||||
|
||||
|
||||
class VesselEntity
|
||||
{
|
||||
int _vessel_id;
|
||||
QString _home_port;
|
||||
int _max_capacity;
|
||||
std::vector<CargoEntity> _cargo_list;
|
||||
|
||||
public:
|
||||
VesselEntity(int v_id, QString hp, int mx_cap);
|
||||
};
|
||||
|
||||
#endif // VESSELENTITY_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue