From 1363bda556bf08657bf19ff79e93319c17c22fc1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 15:38:28 +0100 Subject: More norm --- src/ft_get_spawns.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/ft_get_spawns.c (limited to 'src/ft_get_spawns.c') diff --git a/src/ft_get_spawns.c b/src/ft_get_spawns.c new file mode 100644 index 0000000..6422785 --- /dev/null +++ b/src/ft_get_spawns.c @@ -0,0 +1,26 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_get_sprite_spawns.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:28:51 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:28:51 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include +#include +#include + +void + ft_get_spawns(t_cub *cl) +{ + ft_get_player_spawn(&cl->plist, cl); + ft_get_sprite_spawn(cl); + ft_get_trap_spawn(cl); + ft_get_heal_spawn(cl); + if (cl->isdead == 0) + ft_get_weapon_spawn(cl); +} -- cgit v1.2.3