diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-13 23:07:28 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-13 23:07:28 +0100 |
commit | 1d378dbddb1ba06ef9954326eec01f0cb3c33a26 (patch) | |
tree | 7e3e5590a9e3e5dc73610e1f9d34006ba5a5e950 /src/gameplay.cpp | |
parent | this is starting to get boring.ill see (diff) | |
download | threshold-1d378dbddb1ba06ef9954326eec01f0cb3c33a26.tar.gz threshold-1d378dbddb1ba06ef9954326eec01f0cb3c33a26.tar.bz2 threshold-1d378dbddb1ba06ef9954326eec01f0cb3c33a26.tar.xz threshold-1d378dbddb1ba06ef9954326eec01f0cb3c33a26.tar.zst threshold-1d378dbddb1ba06ef9954326eec01f0cb3c33a26.zip |
what the fuck is going on
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) { |