r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
game.cpp File Reference
#include <cmath>
#include <cstdlib>
#include <ctime>
#include "ECS/Component.hpp"
#include "FlappyBirdClientSolo/Scenes/Game.hpp"
#include "Utils/Common.hpp"
#include "Utils/HitboxUtils.hpp"
#include "Utils/RTypeShared/GameConfig.hpp"
+ Include dependency graph for game.cpp:

Go to the source code of this file.

Enumerations

enum class  PipeType { Small , Medium , Large }
 

Functions

PipeType randomPipeType ()
 
float getGapSize (const PipeType type)
 

Enumeration Type Documentation

◆ PipeType

enum class PipeType
strong
Enumerator
Small 
Medium 
Large 

Definition at line 11 of file game.cpp.

Function Documentation

◆ getGapSize()

float getGapSize ( const PipeType type)

Definition at line 28 of file game.cpp.

References Large, Medium, and Small.

Referenced by gme::Game::resetGame(), and gme::Game::update().

+ Here is the caller graph for this function:

◆ randomPipeType()

PipeType randomPipeType ( )

Definition at line 18 of file game.cpp.

References Large, Medium, and Small.

Referenced by gme::Game::resetGame(), and gme::Game::update().

+ Here is the caller graph for this function: