|
Re: Help programming joystick buttons
Have you heard about command based programming? It is a lot cleaner and will help you avoid creating hundreds (okay, not hundreds) of "else if" blocks and actually set up a polymorphic structure and abstracting your code. It's a specifically tailored design pattern. It's probably too late now, but it's something you should consider next year: http://firstforge.wpi.edu/sf/docman/...tation/doc1297
Last edited by arithehun : 11-02-2013 at 02:27.
|