Bugfix
This commit is contained in:
@@ -118,6 +118,8 @@ bool game_check_player_collision(game_t* game, player_t* player, uint8_t pixels)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool game_check_collision(game_t* game, player_t* player, uint8_t pixels){ // Check boundary and player collisions
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "player.h"
|
||||
#include <color.h>
|
||||
|
||||
#include "player.h"
|
||||
|
||||
void player_init(player_t* player, uint8_t btn_left, uint8_t btn_right,
|
||||
point_t pos, uint16_t color, direction_t direction) {
|
||||
player->color = color;
|
||||
|
||||
Reference in New Issue
Block a user