-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathis_player.c
20 lines (18 loc) · 1 KB
/
is_player.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* is_player.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: abenheni <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/04 13:30:32 by abenheni #+# #+# */
/* Updated: 2023/12/04 13:30:33 by abenheni ### ########.fr */
/* */
/* ************************************************************************** */
#include "render_map.h"
bool is_player(char c)
{
if (c == 'N' || c == 'S' || c == 'W' || c == 'E')
return (true);
return (false);
}