Closed ntpeters closed 12 years ago
@krgauthi, ejrinkus, could this be handled when input handling is moved out of the CoreLogic.execute method the way we were talking about?
possibly if I switch the polling around it should work i.e. if I check for left and right and then check for forward backward other wise the way it polls now it would be set back to false when hitting left and right
I did this on the way down to to acm sorry! Ill push it up soon
Currently the boolean for thrust is being set in GameScreen.handleOutput() in two locations. This should be moved down into CoreLogic.execute(). Since CoreLogic.execute() is being called again from GameScreen.update() by passing in a NULL direction. This should be changed to save a "last direction" variable in GameScreen and pass it into any call to CoreLogic.execute().