Beispiel #1
0
 internal CubeController(Cube cube, CubeView view, IDisplayer displayer)
 {
     this.cube = cube;
     this.view = view;
     moveSfx   = displayer.GetManager().Load <SoundEffect>("Sound/Move");
     rotateSfx = displayer.GetManager().Load <SoundEffect>("Sound/Rotate");
     CubeView.Init(displayer.GetManager());
     UpdateView();
 }