Const qualifiers for entities, there needed
This commit is contained in:
parent
cff62f91be
commit
ee4b01713f
11 changed files with 27 additions and 27 deletions
|
|
@ -19,9 +19,9 @@ public:
|
|||
vessel_entity() = default;
|
||||
vessel_entity(const dpoint_entity &harbor, unsigned int capacity);
|
||||
|
||||
entity_id id();
|
||||
const dpoint_entity harbor();
|
||||
unsigned int capacity();
|
||||
entity_id id() const;
|
||||
const dpoint_entity harbor() const;
|
||||
unsigned int capacity() const;
|
||||
const QVector<cargo_entity> cargo();
|
||||
|
||||
void serialize(QDataStream &output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue