Add entities w/out logic
This commit is contained in:
parent
1bda2c4047
commit
415ede2b91
11 changed files with 153 additions and 8 deletions
19
storageentity.h
Normal file
19
storageentity.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef STORAGEENTITY_H
|
||||
#define STORAGEENTITY_H
|
||||
|
||||
#include "cargoentity.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
class StorageEntity
|
||||
{
|
||||
int _storage_id;
|
||||
int _max_capacity;
|
||||
std::vector<CargoEntity> _cargo;
|
||||
|
||||
public:
|
||||
StorageEntity(int st_id, int mx_cap);
|
||||
};
|
||||
|
||||
#endif // STORAGEENTITY_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue