diff options
author | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-12-13 00:07:19 +0800 |
commit | 60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch) | |
tree | b2c7b0a868f18159dbc43d8954e1bd7668549a88 /Client/Source/GUI/UILine.h |
+init
Diffstat (limited to 'Client/Source/GUI/UILine.h')
-rw-r--r-- | Client/Source/GUI/UILine.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Client/Source/GUI/UILine.h b/Client/Source/GUI/UILine.h new file mode 100644 index 0000000..a47b1f1 --- /dev/null +++ b/Client/Source/GUI/UILine.h @@ -0,0 +1,21 @@ +#pragma once + +#include "../Utilities/StaticInitiator.h" +#include "UIMesh.h" + +class UILine : public UIMesh +{ +public: + UILine(Vector2f from, Vector2f to) + { + m_From = from; + m_To = to; + } + + void Draw() override; + +private: + Vector2f m_From; + Vector2f m_To; + +}; |