HatchitGame
ht_tween_rotation.h
1 
15 #include <ht_tween_component.h>
16 
17 namespace Hatchit {
18 
19  namespace Game {
20 
24  class HT_API TweenRotation : public TweenComponent
25  {
26  public:
30  TweenRotation();
31 
35  ~TweenRotation();
36 
37  virtual Core::JSON VSerialize(void) override;
38  virtual bool VDeserialize(const Core::JSON& jsonObject) override;
39 
43  Math::Float3 GetStartRotation() const;
44 
48  Math::Float3 GetEndRotation() const;
49 
55  void SetStartRotation(const Math::Float3& value);
56 
62  void SetEndRotation(const Math::Float3& value);
63 
69  void VOnUpdate() final override;
70 
74  Component* VClone(void) const override;
75 
76  virtual Core::Guid VGetComponentId(void) const override;
77  };
78 
79  }
80 
81 }
Definition: ht_component.h:42
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_glfwkeyboard.h:21
Defines the base for tween-based components.
Definition: ht_tween_component.h:91
Defines a tween component that can be used to tween an object&#39;s rotation.
Definition: ht_tween_rotation.h:24