4243444546474849505152
@Override public void update(GameContainer gc, int delta) throws SlickException{ EventSystem es = EventSystem.getInstance(); while(!es.isEmpty()){ es.evaluateNextEvent(); } clock.tick(delta); } @Override