fix indentation, now using tabs

This commit is contained in:
arthur.jamet
2021-05-21 23:50:54 +02:00
parent 17f0db2bd1
commit dd128b8b97
71 changed files with 1457 additions and 1473 deletions

View File

@@ -8,37 +8,37 @@
#include "Controllers/Gamepad.hpp"
RAY::Controller::GamePad::GamePad(int id):
_id(id)
_id(id)
{
}
bool RAY::Controller::GamePad::isPressed(RAY::Controller::GamePad::Button button)
{
return IsGamepadButtonPressed(this->_id, button);
return IsGamepadButtonPressed(this->_id, button);
}
bool RAY::Controller::GamePad::isDown(RAY::Controller::GamePad::Button button)
{
return IsGamepadButtonDown(this->_id, button);
return IsGamepadButtonDown(this->_id, button);
}
bool RAY::Controller::GamePad::isReleased(RAY::Controller::GamePad::Button button)
{
return IsGamepadButtonReleased(this->_id, button);
return IsGamepadButtonReleased(this->_id, button);
}
bool RAY::Controller::GamePad::isUp(RAY::Controller::GamePad::Button button)
{
return IsGamepadButtonUp(this->_id, button);
return IsGamepadButtonUp(this->_id, button);
}
bool RAY::Controller::GamePad::isAvailable()
{
return IsGamepadAvailable(this->_id);
return IsGamepadAvailable(this->_id);
}
void RAY::Controller::GamePad::setID(int id)
{
this->_id = id;
this->_id = id;
}