blob: 7e82c22e5bb5669b6303393911ddd2fa7405ffea [file] [log] [blame]
#include "KeyFrame.hpp"
#include "../../BlockReader.hpp"
using namespace nima;
KeyFrame::KeyFrame() :
m_Time(0.0f)
{
}
KeyFrame::~KeyFrame()
{
}
float KeyFrame::time() const
{
return m_Time;
}
bool KeyFrame::read(BlockReader* reader, ActorComponent* component)
{
m_Time = (float)reader->readDouble();
return true;
}