change floor

This commit is contained in:
Askou
2021-06-17 14:45:08 +02:00
parent 55b19d8bac
commit 55711dd343
5 changed files with 12 additions and 10 deletions
+2
View File
@@ -2,6 +2,7 @@
// Created by HENRY Benjamin on 02/06/2021.
//
#include <Component/Collision/CollisionComponent.hpp>
#include <Component/Collision/CollisionComponent.hpp>
#include <Component/Controllable/ControllableComponent.hpp>
#include <Component/Bonus/PlayerBonusComponent.hpp>
@@ -57,6 +58,7 @@ namespace BBM {
Bonus::BonusType Bonus::getRandomBonusType()
{
return (SPEEDUP);
static std::default_random_engine generator(time(nullptr));
std::map<BonusType, float> chanceValue = {
{NOTHING, 100.0f},