public void clicked(){
        if( this.turnBool && this.cooldown==0 ){
            for( TypeButton b : flag.getTypeList() )
                if( b.turnBool )
                    if( b.cooldown == 0 )
                        b.setIcon( new ButtonIcon( buttonSize ).getIcon( b.getButtonType() ) );
                    else 
                        b.setIcon( new ButtonIcon( buttonSize ).getIcon( b.getButtonType() + b.cooldown) );
            this.setIcon( new ButtonIcon( buttonSize ).getIcon( buttonType + "Selected" ) );
            flag.setTypeSelected( this.type );
        }
    }