Organized imports.

Might also have replaced tabs with four spaces. Stupid default Eclipse...
Refactored location of test bed class to reside under src/test/java/ instead of src/main/java/
Made integer division into floating point.

TODO test this mofucka.
Rounded float variables into ints so as to compare ints not floats.

From find bugs:

Bug: Test for floating point equality in com.jed.actor.Player.keyPressEvent()
This operation compares two floating point values for equality. Because floating point calculations may involve rounding, calculated float and double values may not be accurate. For values that must be precise, such as monetary values, consider using a fixed-precision type such as BigDecimal. For values that need not be precise, consider comparing for equality within some range, for example: if ( Math.abs(x - y) < .0000001 ). See the Java Language Specification, section 4.2.4.