raylibstarter
0.1.0
game_scene.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
5
#include <
actor.h
>
6
#include <
scene.h
>
7
#include <
sprite.h
>
8
#include <
sprite_animated.h
>
9
10
namespace
game::scenes
{
11
class
GameScene
final :
public
game::core::Scene
{
12
public
:
13
GameScene
();
14
15
~GameScene
()
override
;
16
17
void
Update
()
override
;
18
19
void
Draw
()
override
;
20
21
private
:
22
// Add private members here...
23
};
24
}
actor.h
game::core::Scene
Scene base class. Scenes are managed by the Stage object.
Definition:
scene.h:23
game::scenes::GameScene
Definition:
game_scene.h:11
game::scenes::GameScene::~GameScene
~GameScene() override
Definition:
game_scene.cpp:23
game::scenes::GameScene::Update
void Update() override
The Update() method is used to process input and update the game state. It is called automatically be...
Definition:
game_scene.cpp:27
game::scenes::GameScene::Draw
void Draw() override
The Draw() method can be used to output graphics. Note that the elements of the actor map are drawn a...
Definition:
game_scene.cpp:33
game::scenes::GameScene::GameScene
GameScene()
Definition:
game_scene.cpp:14
game::scenes
Definition:
game_scene.h:10
scene.h
sprite.h
sprite_animated.h
src
scenes
game_scene.h
Generated by
1.9.3