Skip to content

Commit

Permalink
removed unused variables in gameloop.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MV487 committed May 31, 2023
1 parent 790ed8e commit 6eaf9e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gameLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ void GameLoop::run()
Ball ball{ vec2d(utility::get_window_width() / 2, utility::get_window_height() / 2), 20.0f, 7 };
Paddle player1{ vec2d(0, utility::get_window_height() / 2 - 60), 40, 190,10 };
AIPaddle AI{ vec2d(utility::get_window_width() - 35, utility::get_window_height() / 2 - 60), 40, 190,10, DiffcultyType::Easy };
std::vector <Paddle> players = { AI, player1 };

int player_score{};
int AI_score{};
while (!win.should_close())
{

Expand Down

0 comments on commit 6eaf9e0

Please sign in to comment.