Files
OOP2025f_HW2/include/StorageManager.hpp
2025-10-08 00:01:57 +08:00

20 lines
374 B
C++

#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