Meteos/main.cpp

31 lines
381 B
C++
Raw Normal View History

2022-11-17 20:16:47 -06:00
#define OLC_PGE_APPLICATION
#include "pixelGameEngine.h"
class Meteos : public olc::PixelGameEngine
2022-11-17 20:16:47 -06:00
{
public:
Meteos()
2022-11-17 20:16:47 -06:00
{
sAppName = "Meteos";
2022-11-17 20:16:47 -06:00
}
bool OnUserCreate() override
{
2022-11-17 20:16:47 -06:00
return true;
}
bool OnUserUpdate(float fElapsedTime) override
{
2022-11-17 20:16:47 -06:00
return true;
}
};
int main()
{
Meteos game;
if (game.Construct(256, 240, 4, 4))
game.Start();
2022-11-17 20:16:47 -06:00
return 0;
}