sources and include in the same folder

This commit is contained in:
arthur.jamet
2021-05-21 09:48:13 +02:00
parent 125bad49f1
commit 1f13756500
71 changed files with 71 additions and 71 deletions

View File

@@ -0,0 +1,34 @@
/*
** EPITECH PROJECT, 2021
** Bomberman
** File description:
** Mouse
*/
#include "Controllers/Mouse.hpp"
bool RAY::Controller::Mouse::isPressed(RAY::Controller::Mouse::Button button)
{
return IsMouseButtonPressed(button);
}
bool RAY::Controller::Mouse::isDown(RAY::Controller::Mouse::Button button)
{
return IsMouseButtonDown(button);
}
bool RAY::Controller::Mouse::isReleased(RAY::Controller::Mouse::Button button)
{
return IsMouseButtonReleased(button);
}
bool RAY::Controller::Mouse::isUp(RAY::Controller::Mouse::Button button)
{
return IsMouseButtonUp(button);
}
Vector2 RAY::Controller::Mouse::getCursorPosition(void)
{
return GetMousePosition();
}