diff options
Diffstat (limited to 'src/components/Component.hpp')
-rw-r--r-- | src/components/Component.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/Component.hpp b/src/components/Component.hpp index 98095ba..5a062bd 100644 --- a/src/components/Component.hpp +++ b/src/components/Component.hpp @@ -20,13 +20,12 @@ #include <sol/sol.hpp> -template <typename T> +template<typename T> class Component { - public: - Component(){}; - +public: virtual T FromLua(sol::object) = 0; }; -#endif//COMPONENT_HPP_ +#endif // COMPONENT_HPP_ + |