@@ -0,0 +1,609 @@
+package com.hacklechalet.gravitris;%0A%0Aimport android.view.View;%0A%0A/**%0A * Created by samuel on 25/05/13.%0A */%0Apublic class OnClickListenerGameButton implements View.OnClickListener %7B%0A    private OpenGLRenderer render;%0A    private boolean pause = false;%0A%0A    public OnClickListenerGameButton(OpenGLRenderer render)%0A    %7B%0A        this.render = render;%0A    %7D%0A%0A    @Override%0A    public void onClick(View v) %7B%0A        if(!this.pause)%0A        %7B%0A            this.pause = true;%0A            render.setPause();%0A        %7D%0A        else%0A        %7B%0A            this.pause = false;%0A            render.resume();%0A        %7D%0A    %7D%0A%7D%0A

add listener