The hard-coded key constants should be removed from MainFRM_KeyDown and we should utilize the KeyEventArgs object properly to check for presses of modifiers and regular keys.
Also, KeyDown has no way at the moment of detecting first presses of keys and controlling rapid-fire. Every weapon should have its own fire rate.
The hard-coded key constants should be removed from
MainFRM_KeyDown
and we should utilize theKeyEventArgs
object properly to check for presses of modifiers and regular keys.Also, KeyDown has no way at the moment of detecting first presses of keys and controlling rapid-fire. Every weapon should have its own fire rate.