27 lines
418 B
C++
27 lines
418 B
C++
|
// Precompiled Headers
|
||
|
#include "SHpch.h"
|
||
|
// Primary Header
|
||
|
#include "Slider.hxx"
|
||
|
#include "Assets/NativeAsset.hxx"
|
||
|
#include "Utility/Convert.hxx"
|
||
|
#include "Utility/Debug.hxx"
|
||
|
|
||
|
|
||
|
#include "ECS_Base/Managers/SHSystemManager.h"
|
||
|
#include "UI/SHUISystem.h"
|
||
|
|
||
|
|
||
|
namespace SHADE
|
||
|
{
|
||
|
Slider::Slider(Entity entity)
|
||
|
: Component(entity)
|
||
|
{}
|
||
|
|
||
|
float Slider::GetValue()
|
||
|
{
|
||
|
return GetNativeComponent()->GetValue();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|