HW2 Publish

This commit is contained in:
2025-10-08 00:01:57 +08:00
commit fd471a68c4
19 changed files with 2357 additions and 0 deletions

View 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