/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* player.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: qmennen +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/04/15 18:53:27 by qmennen #+# #+# */ /* Updated: 2025/06/12 14:01:23 by qmennen ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef PLAYER_H # define PLAYER_H # include "cub3d.h" int player_create(t_game **game); void player_update(t_game *game, double delta_time); void player_move(t_map *map, t_player *player, int dir, double delta); void player_rotate(t_player *player, double rot_speed, double delta); void player_strafe(t_map *map, t_player *player, int dir, double delta); void interact_door(t_game *game); #endif