32 lines
1.4 KiB
C
32 lines
1.4 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* player.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/10/15 17:31:35 by mcolonna #+# #+# */
|
|
/* Updated: 2024/11/01 20:41:30 by mcolonna ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef PLAYER_H
|
|
# define PLAYER_H
|
|
|
|
# include "include.h"
|
|
|
|
# include "utils.h"
|
|
|
|
/// @brief Create a player facing north (to use with t_object.init).
|
|
void init_player_n(void **data, t_point_int pos);
|
|
|
|
/// @brief Create a player facing south (to use with t_object.init).
|
|
void init_player_s(void **data, t_point_int pos);
|
|
|
|
/// @brief Create a player facing west (to use with t_object.init).
|
|
void init_player_w(void **data, t_point_int pos);
|
|
|
|
/// @brief Create a player facing east (to use with t_object.init).
|
|
void init_player_e(void **data, t_point_int pos);
|
|
|
|
#endif
|