18 lines
341 B
C++
18 lines
341 B
C++
#pragma once
|
|
|
|
#include "Game/SaveMap/ISave.h"
|
|
|
|
#include <string>
|
|
#include <memory>
|
|
|
|
class CustomObject : public ISave
|
|
{
|
|
public:
|
|
int num;
|
|
std::string str;
|
|
double dbl;
|
|
|
|
std::shared_ptr<SaveMap> save() override;
|
|
void load(std::shared_ptr<SaveMap> save) override;
|
|
bool operator==(const CustomObject& obj) const;
|
|
}; |