42 lines
565 B
C++
42 lines
565 B
C++
// simple raycast shooter
|
|
// shotgun fun fun yanno
|
|
|
|
#include <iostream>
|
|
|
|
#include <Aeon/Aeon.hpp>
|
|
#include <Aeon/Core/Events.hpp>
|
|
|
|
class ExampleGame : public Aeon::Core::App
|
|
{
|
|
public:
|
|
|
|
// take command line args better (parse them first!)
|
|
ExampleGame()
|
|
: App( { "Example" }, { "Game with AEON!" } )
|
|
{
|
|
GameLevel game;
|
|
PushLayer( game );
|
|
Run();
|
|
}
|
|
|
|
~ExampleGame()
|
|
{
|
|
|
|
}
|
|
|
|
};
|
|
|
|
class GameLevel : public Aeon::Core::GameLayer
|
|
{
|
|
public:
|
|
|
|
|
|
};
|
|
|
|
int main( int argc, char** argv )
|
|
{
|
|
ExampleGame game;
|
|
|
|
return 0;
|
|
}
|