//////////////////////////////////////////////////////////////////////////////////////////////////// // NoesisGUI - http://www.noesisengine.com // Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved. //////////////////////////////////////////////////////////////////////////////////////////////////// #include namespace Noesis { //////////////////////////////////////////////////////////////////////////////////////////////////// inline KeyTimeType KeyTime::GetType() const { return mType; } //////////////////////////////////////////////////////////////////////////////////////////////////// inline const TimeSpan& KeyTime::GetTimeSpan() const { NS_ASSERT(mType == KeyTimeType_TimeSpan); return mTimeSpan; } //////////////////////////////////////////////////////////////////////////////////////////////////// inline float KeyTime::GetPercent() const { NS_ASSERT(mType == KeyTimeType_Percent); return mPercent; } }