/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* player.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mcolonna +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/15 17:31:35 by mcolonna #+# #+# */ /* Updated: 2024/11/15 15:54:36 by mcolonna ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef PLAYER_H # define PLAYER_H # include "include.h" # include "utils.h" # include "map.h" /// @brief Create a player facing north (to use with t_map_case.init_player). void init_player_n(t_player *dest, t_point_int pos); /// @brief Create a player facing south (to use with t_map_case.init_player). void init_player_s(t_player *dest, t_point_int pos); /// @brief Create a player facing west (to use with t_map_case.init_player). void init_player_w(t_player *dest, t_point_int pos); /// @brief Create a player facing east (to use with t_map_case.init_player). void init_player_e(t_player *dest, t_point_int pos); #endif