diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-04 17:43:53 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-04 17:43:53 +0100 |
commit | 22383a6efdb3cfe49cd1081c648d95719b1e2eed (patch) | |
tree | 1d28f74a8f7f29202b7939973d6817f05c8d9897 /src/entity.cpp | |
parent | map read from file (diff) | |
download | threshold-22383a6efdb3cfe49cd1081c648d95719b1e2eed.tar.gz threshold-22383a6efdb3cfe49cd1081c648d95719b1e2eed.tar.bz2 threshold-22383a6efdb3cfe49cd1081c648d95719b1e2eed.tar.xz threshold-22383a6efdb3cfe49cd1081c648d95719b1e2eed.tar.zst threshold-22383a6efdb3cfe49cd1081c648d95719b1e2eed.zip |
dumb pellet implementation
Diffstat (limited to 'src/entity.cpp')
-rw-r--r-- | src/entity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 69bec00..75e900a 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -17,6 +17,7 @@ Entity::Entity(void) : hp(1) } else { direction = (Vector2){-posX / 100, posY / 100}; } + radius = 10; } Entity::~Entity() {} |