
08-04-2011, 11:59 PM
|
|
Banned
|
Join Date: Jul 2004
Location: London
Posts: 2,029
|
|
|
One thing I rarely see brought with this type of thing, which may not be entirely necessary but can be convenient down the line, is that it would be much better to create a single system for detecting your various key presses so that you can both more easily prevent them from interfering with eachother and process them in an intended order.
If you have different instances of "function onKeyPressed" within a lot of weapons it becomes harder to keep track of everything going on. |
|
|
|