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.
46 lines
1.0 KiB
C
46 lines
1.0 KiB
C
|
4 years ago
|
/******************************************************************************
|
||
|
4 years ago
|
* File - testbed.h
|
||
|
4 years ago
|
* 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>
|
||
|
4 years ago
|
#include <core/types.h>
|
||
|
4 years ago
|
#include "scenes/baseScene.h"
|
||
|
4 years ago
|
|
||
|
|
namespace lunarium
|
||
|
|
{
|
||
|
4 years ago
|
class Image;
|
||
|
|
|
||
|
4 years ago
|
class TestBed : public iRunMode
|
||
|
4 years ago
|
{
|
||
|
|
public:
|
||
|
4 years ago
|
TestBed();
|
||
|
4 years ago
|
OpRes Initialize();
|
||
|
|
void Shutdown();
|
||
|
|
void OnTick(double delta);
|
||
|
4 years ago
|
void OnRender(IGraphics* g);
|
||
|
4 years ago
|
void OnKeyPress(InputManager::KeyPress kp);
|
||
|
4 years ago
|
|
||
|
4 years ago
|
void SwitchScene(int id);
|
||
|
|
|
||
|
4 years ago
|
|
||
|
|
private:
|
||
|
4 years ago
|
TestBed(const TestBed&) = delete;
|
||
|
|
const TestBed& operator=(const TestBed&) = delete;
|
||
|
4 years ago
|
|
||
|
|
private: // Data
|
||
|
4 years ago
|
uint32_t mLogCat;
|
||
|
4 years ago
|
BaseScene* mpScene;
|
||
|
4 years ago
|
|
||
|
4 years ago
|
|
||
|
|
private: // Test methods
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif // TESTER_H_
|