/* ************************************************************************** */
/*                                                          LE - /            */
/*                                                              /             */
/*   ft_click_close.c                                 .::    .:/ .      .::   */
/*                                                 +:+:+   +:    +:  +:+:+    */
/*   By: rbousset <marvin@le-101.fr>                +:+   +:    +:    +:+     */
/*                                                 #+#   #+    #+    #+#      */
/*   Created: 2020/02/09 15:12:16 by rbousset     #+#   ##    ##    #+#       */
/*   Updated: 2020/02/09 15:12:17 by rbousset    ###    #+. /#+    ###.fr     */
/*                                                         /                  */
/*                                                        /                   */
/* ************************************************************************** */

#include <libft.h>
#include <cub3d.h>
#include <mlx.h>
#include <stdlib.h>

int
	ft_click_close(int keycode, t_cub *clist)
{
	(void)clist;
	ft_printf("Button [%d] pressed\n", keycode);
	exit(0);
	return (0);
}