package eleph.android.games.gamin;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

public class GaminActivity extends Activity
{
    TheApplication app;
    
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        app = (TheApplication)this.getApplication();
    }
    
    public void onClickEXIT(View view) {
      finish();
    }
    
    public void onClickNEW(View view) {
      app.getGame().reNew();
        ((GameView)findViewById(R.id.gameView)).reDraw();
    }
}
