|
Level H Engine
|
A class that handles the aim ball component. More...
#include <AimBallComponent.h>


Public Member Functions | |
| virtual | ~AimBallComponent () |
| A virtual destructor. More... | |
| virtual void | onAwake () |
| A virtual function for the componets awake. More... | |
| virtual void | onDestroy () |
| A virtual function for the componets destroy. More... | |
| void | setVelocities (Vec3 inVel) |
| void | update () |
| void | setResetPos (Vec3 inPos) |
| void | resetBall () |
| void | applyGravity () |
| void | setUse (bool use) |
Public Member Functions inherited from Component | |
| virtual | ~Component () |
| A virtual destructor. More... | |
| std::weak_ptr< GameObject > | getGameObject () |
| A function to get the game object linked with the component. More... | |
| virtual void | onUpdate () |
| A virtual function for the componets update. More... | |
| virtual void | onRender () |
| A virtual function for the componets render. More... | |
| void | setDestroyed (bool inDestroyed) |
| A function to set the componets destroyed boolean. More... | |
| bool | getDestroyed () |
| A function to get the componets destroyed boolean. More... | |
| std::string | getID () |
| A function to set the components type ID. More... | |
Private Attributes | |
| Vec3 | velocities |
| The velocites of the ball. More... | |
| Vec3 | resetPos |
| bool | inUse |
Additional Inherited Members | |
Protected Attributes inherited from Component | |
| std::string | id |
| The ID of the component type. More... | |
A class that handles the aim ball component.
|
virtual |
A virtual destructor.
| void AimBallComponent::applyGravity | ( | ) |

|
virtual |
A virtual function for the componets awake.
Reimplemented from Component.
|
virtual |
A virtual function for the componets destroy.
Reimplemented from Component.
| void AimBallComponent::resetBall | ( | ) |


|
inline |


|
inline |

| void AimBallComponent::setVelocities | ( | Vec3 | inVel | ) |

| void AimBallComponent::update | ( | ) |


|
private |
|
private |
|
private |
The velocites of the ball.
1.8.13