You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/******************************************************************************
|
|
|
|
|
* File - tester.h
|
|
|
|
|
* Author - Joey Pollack
|
|
|
|
|
* Date - 2021/09/15 (y/m/d)
|
|
|
|
|
* Mod Date - 2021/09/15 (y/m/d)
|
|
|
|
|
* Description - Run a series of tests to verify engine functionality
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
#ifndef TESTER_H_
|
|
|
|
|
#define TESTER_H_
|
|
|
|
|
|
|
|
|
|
#include <core/iRunMode.h>
|
|
|
|
|
#include <utils/types.h>
|
|
|
|
|
#include "scenes/baseScene.h"
|
|
|
|
|
|
|
|
|
|
namespace lunarium
|
|
|
|
|
{
|
|
|
|
|
class Image;
|
|
|
|
|
|
|
|
|
|
class Tester : public iRunMode
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
Tester();
|
|
|
|
|
OpRes Initialize();
|
|
|
|
|
void Shutdown();
|
|
|
|
|
void OnTick(double delta);
|
|
|
|
|
void OnRender(IGraphics* g);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Tester(const Tester&) = delete;
|
|
|
|
|
const Tester& operator=(const Tester&) = delete;
|
|
|
|
|
|
|
|
|
|
private: // Data
|
|
|
|
|
uint32_t mLogCat;
|
|
|
|
|
BaseScene* mpScene;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private: // Test methods
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // TESTER_H_
|