aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-07 00:38:03 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-07 00:38:03 +0100
commit90fb1be2c0028513e0be35bc3791f426b6f500ec (patch)
tree34fd9496e0a0eda4edcbd67b768e8ab112d3844e /src/gameplay.cpp
parentweapons ready to be implemented. release v0.0.5 (diff)
downloadthreshold-90fb1be2c0028513e0be35bc3791f426b6f500ec.tar.gz
threshold-90fb1be2c0028513e0be35bc3791f426b6f500ec.tar.bz2
threshold-90fb1be2c0028513e0be35bc3791f426b6f500ec.tar.xz
threshold-90fb1be2c0028513e0be35bc3791f426b6f500ec.tar.zst
threshold-90fb1be2c0028513e0be35bc3791f426b6f500ec.zip
FINALLY
Diffstat (limited to '')
-rw-r--r--src/gameplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index 5b8e1bb..a2d306e 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -107,6 +107,7 @@ void Game::draw() const
auto texSize = (enemies->at(0).radius / 40.0f);
for (auto & en : *enemies)
{
+ DrawCircle(en.posX, en.posY, en.radius, GREEN);
if (en.hp == 0)
DrawTextureEx(en.hurtTex, (Vector2){en.posX - 20, en.posY - 20}, 1.0f, 0.6f, WHITE);
else {
@@ -237,7 +238,6 @@ int Game::getKeys() const
}
}
} else {
- std::cout << "tick now" << std::endl;
if (this->tick()) {
return (1);
}