Merge branch 'feature/number-from-images' into feature/game_logic/point_system

* feature/number-from-images:
  [ADD] convert number to digits
This commit is contained in:
DESKTOP-EBR7IVA\kimve
2021-06-11 12:32:03 +02:00
4 changed files with 29 additions and 0 deletions

View File

@@ -272,6 +272,15 @@ namespace scene
collision::CheckCollisions(collision_entities);
update_hand_detection();
std::vector<int> res;
toolbox::GetDigitsFromNumber(1234567890, res);
std::cout << "number 1234567890 in digits: " << std::endl;
for (int i : res)
{
std::cout << i << " , ";
}
std::cout << std::endl;
}
//manages the key input in the game scene

View File

@@ -57,6 +57,8 @@ namespace scene
//pause_guis is a list of components that will be rendered when the game is paused.
std::vector<gui::GuiTexture*> pause_guis;
std::vector<gui::GuiTexture*> score_guis;
/**
* @brief renders the objects/gui models
* @param