HatchitGame
ht_audiolistener_component.h
1 
15 #pragma once
16 
17 #include <ht_component.h> //Component
18 
19 namespace Hatchit
20 {
21  namespace Game
22  {
23  class AudioListener : public Component
24  {
25  public:
26  AudioListener();
27 
28  virtual Core::JSON VSerialize() override;
29  virtual bool VDeserialize(const Core::JSON& jsonObject) override;
30  virtual void VOnInit() override;
31 
32  virtual void VOnUpdate() override;
33 
34  virtual void VOnDestroy() override;
35 
36  virtual Component* VClone() const override;
37 
38  virtual Core::Guid VGetComponentId() const override;
39  protected:
40  virtual void VOnEnabled() override;
41 
42  virtual void VOnDisabled() override;
43 
44  private:
45 
46 
47  };
48  }
49 }
virtual void VOnDisabled() override
Called when the Component is disabled.
Definition: ht_audiolistener_component.cpp:73
virtual void VOnDestroy() override
Called when the GameObject is destroyed/deleted.
Definition: ht_audiolistener_component.cpp:78
virtual void VOnEnabled() override
Called when the Component is enabled.
Definition: ht_audiolistener_component.cpp:68
virtual void VOnUpdate() override
Called once per frame while the GameObject is enabled.
Definition: ht_audiolistener_component.cpp:46
Definition: ht_component.h:42
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_glfwkeyboard.h:21
virtual Component * VClone() const override
Creates a copy of this Component.
Definition: ht_audiolistener_component.cpp:57
virtual void VOnInit() override
Called when the GameObject is created to initialize all values.
Definition: ht_audiolistener_component.cpp:41
Definition: ht_audiolistener_component.h:23