processGameEvent(new GamePhaseChangeEvent(this));
processGameEvent(new GamePhaseChangeEvent(this, oldPhase, phase));
    public void setPhase(int phase) {        this.phase = phase;        // Handle phase-specific items.        switch (phase) {            case PHASE_LOUNGE :                reset();                break;            case IGame.PHASE_MOVEMENT :                resetActions();                break;            case IGame.PHASE_FIRING :                resetActions();                break;            case IGame.PHASE_PHYSICAL :                resetActions();                break;            case IGame.PHASE_INITIATIVE :                resetActions();                resetCharges();                break;        }        processGameEvent(new GamePhaseChangeEvent(this));    }