Closed brettchalupa closed 6 years ago
This updates the example code for the gamepad to properly initialize the gamepad variable. Without the var keyword and type, the game will fail to compile due to these errors:
gamepad
var
source/PlayState.hx:12: characters 8-15 : Unknown identifier : gamepad source/PlayState.hx:13: characters 12-19 : Unknown identifier : gamepad
This updates the example code for the gamepad to properly initialize the
gamepad
variable. Without thevar
keyword and type, the game will fail to compile due to these errors: