diff options
author | chai <chaifix@163.com> | 2018-08-24 20:26:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-08-24 20:26:18 +0800 |
commit | 106dfe48c40fdb24b7f5e8a84c992d15363a38d9 (patch) | |
tree | 575ed2df988e37c16d86528c85b9aea5f9755f3e /src/libjin/Utils | |
parent | 06fc5e860e3a0ff6a325394fa01c42fb768a058e (diff) |
-some file
Diffstat (limited to 'src/libjin/Utils')
-rw-r--r-- | src/libjin/Utils/CSV/CSV.cpp | 0 | ||||
-rw-r--r-- | src/libjin/Utils/CSV/CSV.h | 1 | ||||
-rw-r--r-- | src/libjin/Utils/Component/Component.h | 30 | ||||
-rw-r--r-- | src/libjin/Utils/Component/GameObject.h | 40 | ||||
-rw-r--r-- | src/libjin/Utils/EventMsgCenter/EventMsgCenter.h | 20 | ||||
-rw-r--r-- | src/libjin/Utils/EventMsgCenter/Events.h | 20 | ||||
-rw-r--r-- | src/libjin/Utils/Json/Json.cpp | 0 | ||||
-rw-r--r-- | src/libjin/Utils/Json/Json.h | 1 | ||||
-rw-r--r-- | src/libjin/Utils/Proxy/lock.h | 4 | ||||
-rw-r--r-- | src/libjin/Utils/XML/XML.cpp | 0 | ||||
-rw-r--r-- | src/libjin/Utils/XML/XML.h | 1 |
11 files changed, 0 insertions, 117 deletions
diff --git a/src/libjin/Utils/CSV/CSV.cpp b/src/libjin/Utils/CSV/CSV.cpp deleted file mode 100644 index e69de29..0000000 --- a/src/libjin/Utils/CSV/CSV.cpp +++ /dev/null diff --git a/src/libjin/Utils/CSV/CSV.h b/src/libjin/Utils/CSV/CSV.h deleted file mode 100644 index 6f70f09..0000000 --- a/src/libjin/Utils/CSV/CSV.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once diff --git a/src/libjin/Utils/Component/Component.h b/src/libjin/Utils/Component/Component.h deleted file mode 100644 index f63fb59..0000000 --- a/src/libjin/Utils/Component/Component.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef __JIN_TOOLS_COMPONENT_H -#define __JIN_TOOLS_COMPONENT_H -#include "../../modules.h" -#if JIN_MODULES_TOOLS && JIN_TOOLS_COMPONENT - -namespace jin -{ -namespace utils -{ - - class GameObject; - - class Component - { - public: - Component(GameObject* obj) - : gameObject(obj) - {} - - virtual void update(float dt) = 0; - - private: - GameObject* gameObject; - }; - -} // tools -} // jin - -#endif // JIN_MODULES_TOOLS && JIN_TOOLS_COMPONENT -#endif // __JIN_TOOLS_COMPONENT_H
\ No newline at end of file diff --git a/src/libjin/Utils/Component/GameObject.h b/src/libjin/Utils/Component/GameObject.h deleted file mode 100644 index e4f3aa5..0000000 --- a/src/libjin/Utils/Component/GameObject.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef __JIN_TOOLS_GAMEOBJECT_H -#define __JIN_TOOLS_GAMEOBJECT_H -#include "../../modules.h" -#if JIN_MODULES_TOOLS && JIN_TOOLS_COMPONENT - -#include <vector> -#include "Component.h" - -namespace jin -{ -namespace utils -{ - - class GameObject - { - public: - - GameObject() - : components() - { - } - - virtual void update(float dt) - { - for each (Component* component in components) - component->update(dt); - } - - virtual void draw() = 0; - - protected: - - std::vector<Component*> components; - }; - -} // tools -} // jin - -#endif // JIN_MODULES_TOOLS && JIN_TOOLS_COMPONENT -#endif // __JIN_TOOLS_GAMEOBJECT_H
\ No newline at end of file diff --git a/src/libjin/Utils/EventMsgCenter/EventMsgCenter.h b/src/libjin/Utils/EventMsgCenter/EventMsgCenter.h deleted file mode 100644 index 6717b83..0000000 --- a/src/libjin/Utils/EventMsgCenter/EventMsgCenter.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef __JIN_TOOLS_EVENTMSGCENTER_H -#define __JIN_TOOLS_EVENTMSGCENTER_H -#include "../../modules.h" -#if JIN_MODULES_TOOLS && JIN_TOOLS_EVENTMSGCENTER - -namespace jin -{ -namespace utils -{ - - class EventMSGCenter - { - - }; - -} // tools -} // jin - -#endif // JIN_MODULES_TOOLS && JIN_TOOLS_EVENTMSGCENTER -#endif // __JIN_TOOLS_EVENTMSGCENTER_H
\ No newline at end of file diff --git a/src/libjin/Utils/EventMsgCenter/Events.h b/src/libjin/Utils/EventMsgCenter/Events.h deleted file mode 100644 index 9ebc30d..0000000 --- a/src/libjin/Utils/EventMsgCenter/Events.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef __JIN_TOOLS_EVENTS_H -#define __JIN_TOOLS_EVENTS_H -#include "../../modules.h" -#if JIN_MODULES_TOOLS && JIN_TOOLS_EVENTMSGCENTER - -namespace jin -{ -namespace utils -{ - - enum Event - { - - }; - -} // tools -} // jin - -#endif // JIN_MODULES_TOOLS && JIN_TOOLS_EVENTMSGCENTER -#endif // __JIN_TOOLS_EVENTS_H
\ No newline at end of file diff --git a/src/libjin/Utils/Json/Json.cpp b/src/libjin/Utils/Json/Json.cpp deleted file mode 100644 index e69de29..0000000 --- a/src/libjin/Utils/Json/Json.cpp +++ /dev/null diff --git a/src/libjin/Utils/Json/Json.h b/src/libjin/Utils/Json/Json.h deleted file mode 100644 index 6f70f09..0000000 --- a/src/libjin/Utils/Json/Json.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once diff --git a/src/libjin/Utils/Proxy/lock.h b/src/libjin/Utils/Proxy/lock.h deleted file mode 100644 index 29194a1..0000000 --- a/src/libjin/Utils/Proxy/lock.h +++ /dev/null @@ -1,4 +0,0 @@ -class Lock -{ - -};
\ No newline at end of file diff --git a/src/libjin/Utils/XML/XML.cpp b/src/libjin/Utils/XML/XML.cpp deleted file mode 100644 index e69de29..0000000 --- a/src/libjin/Utils/XML/XML.cpp +++ /dev/null diff --git a/src/libjin/Utils/XML/XML.h b/src/libjin/Utils/XML/XML.h deleted file mode 100644 index 6f70f09..0000000 --- a/src/libjin/Utils/XML/XML.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once |