Корабът Радецки - Eight ball pool v 1.0
The documnetation for our physics-themed project.
game_scene.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "drawable.hpp"
4#include "table.hpp"
5
7{
8private:
9 std::list<Ball*> balls;
10 Ball* white_ball;
11
12 Stick* stick;
13
14 const Vector2 starting_ball_position = {930, 350};
15
16public:
18 {}
19
20 virtual ~GameScene() = default;
21
22 void Create() override;
23 void Update() override;
24};
Definition: table.hpp:12
Definition: drawable.hpp:13
Drawable()
Sets the sprites' IDs.
Definition: drawable.cpp:8
Definition: game_scene.hpp:7
virtual ~GameScene()=default
void Create() override
Definition: game_scene.cpp:3
void Update() override
Definition: game_scene.cpp:66
GameScene()
Definition: game_scene.hpp:17
Definition: table.hpp:53