HW2 Publish
This commit is contained in:
19
include/StorageManager.hpp
Normal file
19
include/StorageManager.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef STORAGEMANAGER_HPP
|
||||
#define STORAGEMANAGER_HPP
|
||||
|
||||
#include "Storage.hpp"
|
||||
|
||||
class StorageManager {
|
||||
public:
|
||||
StorageManager();
|
||||
|
||||
void AddAllStorageCapacity(int capacity);
|
||||
void moveCapacity(StorageType fromType, StorageType toType, int moveCapacity);
|
||||
|
||||
[[nodiscard]] std::vector<Storage>& getStorages();
|
||||
|
||||
private:
|
||||
std::vector<Storage> storages;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user