Example #1
0
  public void go() {
    model = new Model();
    view = new OpenGLView();

    model.init();

    view.add(new ThreeDView(0, 0));
    view.add(new DebugView());

    view.init(model);
  }
Example #2
0
    public final void onResume() {
      for (int i = getChildCount(); --i >= 0; ) {
        View v = getChildAt(i);

        if (v instanceof OpenGLView) ((OpenGLView) v).onResume();
      }
    }
Example #3
0
  public final void deleteOpenGLView(OpenGLView view) {
    ViewGroup group = (ViewGroup) (view.getParent());

    if (group != null) group.removeView(view);
  }