PlatformDevice provides an abstract way of describing things that depend on the platform:
At the current time, this is over-engineered. But if you wish to support mobile devices (e.g., by using Capacitor.js), then this will be useful.
The behavior of the device accelerometer
Quit the game and close its window
Vibrate the device for some number of milliseconds
The number of milliseconds to vibrate
PlatformDevice provides an abstract way of describing things that depend on the platform:
At the current time, this is over-engineered. But if you wish to support mobile devices (e.g., by using Capacitor.js), then this will be useful.