diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-06-15 20:00:46 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-06-15 20:00:46 +0100 |
commit | 65c75747db540be33dab64b23059de1387daf220 (patch) | |
tree | 1e1820ec36d262589c21996faf55d3fe8b20cc47 | |
parent | 98b8df435329df6ff3a19ad46f13c8f5bb22ca53 (diff) | |
download | YAGE-65c75747db540be33dab64b23059de1387daf220.tar.gz YAGE-65c75747db540be33dab64b23059de1387daf220.zip |
Adding new system
-rw-r--r-- | yage/entity/system.h | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/yage/entity/system.h b/yage/entity/system.h index 84536cc9..b540555f 100644 --- a/yage/entity/system.h +++ b/yage/entity/system.h @@ -1,26 +1,10 @@ -/** --------------------------------------------------------------------------- - * -*- c++ -*- - * @file: system.h - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -#pragma once - -#include <cstddef> - -#include "../util/noncopyable.h" - -namespace yage -{ - -class System : public NonCopyable +class BaseSystem { public: - virtual void init() = 0; virtual void update() = 0; }; -} // namespace yage +template <typename T> +class System : public BaseSystem +{ +}; |