Easier than the if statements

It’s much more efficient and easier to use a switch statement than multiple nested ifs in the main update loop.

Here’s mine: http://pastebin.com/s1q9rPTh

Privacy & Terms