Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
my_game.hpp
Go to the documentation of this file.
1
6
7
#pragma once
8
9
#include <
toast/application.hpp
>
10
11
namespace
toast {
12
void
registerGameTypes();
13
}
14
15
class
MyGame
:
public
toast::IApplication
{
16
public
:
17
// Try adding stuff here! -xein
18
// Reading the documentation at https://docs.nullptr.es might help
19
void
begin()
override
{}
20
void
tick()
override
{}
21
void
destroy()
override
{}
22
23
void
registerTypes()
override
{ toast::registerGameTypes(); }
24
};
application.hpp
MyGame
Definition
my_game.hpp:15
toast::IApplication
Definition
application.hpp:12
editor
Resources
files
lib
src
my_game.hpp
Generated by
1.17.0