Controller class
Controller allows you to write games which will work simultaneously with the keyboard, a SNES-style controller, or the arcade cabinet, without changing your code. Here is a minimal example of the basics:
| |
Controller allows you to write games which will work simultaneously with the keyboard, a SNES-style controller, or the arcade cabinet, without changing your code. Here is a minimal example of the basics:
| |