Ocular Engine
Buildable.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_CORE_BUILDABLE__H__
19 #define __H__OCULAR_CORE_BUILDABLE__H__
20 
21 #include "BuilderNode.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Core
36  {
54  class Buildable
55  {
56  public:
57 
68  virtual void onLoad(BuilderNode const* node);
69 
76  virtual void onSave(BuilderNode* node) const;
77 
78  protected:
79 
80  private:
81 
82  };
83  }
87 }
92 //------------------------------------------------------------------------------------------
93 
94 #endif
virtual void onSave(BuilderNode *node) const
Definition: Buildable.cpp:40
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Buildable.hpp:54
Generic node system used for loading and saving SceneObjects and their components.
Definition: BuilderNode.hpp:51
virtual void onLoad(BuilderNode const *node)
Definition: Buildable.cpp:35