diff options
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r-- | src/gameplay.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp index b4c6477..49b86cc 100644 --- a/src/gameplay.cpp +++ b/src/gameplay.cpp @@ -215,6 +215,10 @@ int Game::tick() { en->posY += 2.1f; en->direction.y += 0.1f; } + // if ((GetRandomValue(0, 100) == 50) && (en->currentWeapon != nullptr)) { + // std::cout << "spawn enemy" << std::endl; + // en->currentWeapon->bang(enemies, &(*en)); + // } } else { if (en->posX >= SCREENWIDTH || en->posX <= 0 || en->posY >= SCREENHEIGHT) { |