@Override public void draw(Graphics g) { super.draw(g); if (Camera.isObjectVisible(getWorldRect())) { currentState.draw(g); } }