aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_spawns.c
blob: 783261b16ca0528811605ab8f07ae3a657febb80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_get_sprite_spawns.c                             :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: joelecle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:28:51 by joelecle          #+#    #+#             */
/*   Updated: 2020/02/14 17:28:51 by joelecle         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#include <libft.h>
#include <cub3d.h>
#include <stdint.h>

void
	ft_get_spawns(t_cub *cl)
{
	ft_get_player_spawn(&cl->plist, cl);
	ft_get_sprite_spawn(cl);
}