diff options
| author | UnavailableDev <ggwildplay@gmail.com> | 2023-04-05 20:50:07 +0200 | 
|---|---|---|
| committer | UnavailableDev <ggwildplay@gmail.com> | 2023-04-05 20:50:07 +0200 | 
| commit | 0dd7be7230b3ccba9a930c01549d79d108d091c4 (patch) | |
| tree | 62f42cbf597232ed1076bb539426df8ddcf2886e /src/engine/entity.h | |
| parent | 06b9a5e3c252713c211d77b5643143276db209ba (diff) | |
| parent | dc5e246ff1e8d89e59acf70c149f180fb41dd584 (diff) | |
Merge branch 'dev' of https://github.com/heavydemon21/avans-arcade into dev
Diffstat (limited to 'src/engine/entity.h')
| -rw-r--r-- | src/engine/entity.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/entity.h b/src/engine/entity.h index fde9341..fb1c905 100644 --- a/src/engine/entity.h +++ b/src/engine/entity.h @@ -51,9 +51,12 @@ void hh_jump_entity(hh_entity* );  /** @brief looks if the player is grounded and if not it sets the position down */  void hh_gravity_entity(hh_entity* );  /** @brief if object is hit bounches in specific direction and moves the object */ -void hh_hit_entity(hh_entity* object_1, int8_t* hit_timer, int8_t* direction); +void hh_player_move_hit(hh_entity* object_1, int8_t* hit_timer, int8_t* direction); + +void hh_movement_entity(hh_entity* object_1, int8_t* direction);  /** @brief specific bullet background collisions detection */  bool hh_background_collision_bulllet (hh_entity temp_old_entity);  /** @brief checks any entity has a hit on each othe*/  void hh_check_all_collisions(hh_entity* player, hh_entity* enemies, int total_enemies, hh_entity* bullets, int total_bullets, vec_cor cam_pos); +  |