SDLPP: Visitor pattern
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#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 );
|
||||
};
|
||||
|
||||
} // namespace SDLPP
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user