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 @@ public:
|
||||
/**
|
||||
* Check the availability of the sensor.
|
||||
**/
|
||||
virtual bool isAvailable(SensorType type) = 0;
|
||||
virtual bool hasSensor(SensorType type) = 0;
|
||||
|
||||
/**
|
||||
* Check if the sensor is enabled.
|
||||
|
||||
Reference in New Issue
Block a user