Added comments and todo to collide.c
This commit is contained in:
parent
733533a35d
commit
a42fbe24f5
|
@ -18,6 +18,9 @@ uint8_t collide_point(Vec point, const Level *level, uint layer_id) {
|
|||
}
|
||||
}
|
||||
|
||||
/* TODO: 'collide{right,left,up,down} are a bad idea, should replace all
|
||||
* of these for by an unique function i.e. 'player_collide'.
|
||||
*/
|
||||
bool collide_right(Player *player, Vec position, const Level *level, uint layer_id) {
|
||||
Vec pos;
|
||||
vec_cpy(&pos, position);
|
||||
|
|
Reference in New Issue