game/sdlpp/sdlpp_visitor.hpp
2021-04-26 21:57:31 +02:00

20 lines
317 B
C++

#ifndef SDLPP_HPP_VISITOR
#define SDLPP_HPP_VISITOR
#include "sdlpp_common.hpp"
namespace SDLPP {
class SDLPPSCOPE RenderObject;
class SDLPPSCOPE Visitor {
public:
Visitor() {}
virtual void visit( const RenderObject &obj ) = 0;
virtual void fromId( uint64_t id ) = 0;
};
} // namespace SDLPP
#endif