17 lines
469 B
C++
17 lines
469 B
C++
#pragma once
|
|
|
|
#include "resource/Resource.h"
|
|
#include "resource/ResourceFactory.h"
|
|
|
|
namespace Ship {
|
|
class BackgroundFactory : public ResourceFactory {
|
|
public:
|
|
std::shared_ptr<Resource> ReadResource(uint32_t version, std::shared_ptr<BinaryReader> reader);
|
|
};
|
|
|
|
class BackgroundFactoryV0 : public ResourceVersionFactory {
|
|
public:
|
|
void ParseFileBinary(std::shared_ptr<BinaryReader> reader, std::shared_ptr<Resource> resource) override;
|
|
};
|
|
}; // namespace Ship
|