Closed AndreaPerrello closed 8 years ago
private boolean autoCleanInput = true; @Override public void enter(GameContainer container, StateBasedGame game) throws SlickException { ME.world = this; if(autoCleanInput){ container.getInput().clearControlPressedRecord(); container.getInput().clearKeyPressedRecord(); container.getInput().clearMousePressedRecord(); } } public void setInputAutoClean(boolean auto){ autoCleanInput = auto; }
Sorry for late response!
I'm closing this pull request because I've merged your change in maven branch, please see https://github.com/Gornova/MarteEngine/commit/6af9bc204b28fd44e8dddffa3dd18bbf29c9ffe2