protot/3rdparty/RuntimeCompiledCpp/Examples/ConsoleExample/RuntimeObject01.cpp

19 lines
404 B
C++

#include "../../RuntimeObjectSystem/ObjectInterfacePerModule.h"
#include "../../RuntimeObjectSystem/IObject.h"
#include "IUpdateable.h"
#include "InterfaceIds.h"
#include <iostream>
class RuntimeObject01 : public TInterface<IID_IUPDATEABLE,IUpdateable>
{
public:
virtual void Update( float deltaTime )
{
std::cout << "Runtime Object 01231 update called!\n";
}
};
REGISTERCLASS(RuntimeObject01);