mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Rename love.sensor.isAvailable to love.sensor.hasSensor.
This commit is contained in:
@@ -49,7 +49,7 @@ const char *Sensor::getName() const
|
||||
return "love.sensor.sdl";
|
||||
}
|
||||
|
||||
bool Sensor::isAvailable(SensorType type)
|
||||
bool Sensor::hasSensor(SensorType type)
|
||||
{
|
||||
for (int i = 0; i < SDL_NumSensors(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user