Beispiel #1
0
 public DisplayDecorator(DisplayComponent d)
 {
     disp = d;
     graficDevice = d.graficDevice;
     graficDeviceControl = d.graficDeviceControl;
     mainSpriteBatch = d.mainSpriteBatch;
     watch = d.watch;
     displayEnable = false;
 }
Beispiel #2
0
 public DisplayMove(DisplayComponent d)
     : base(d)
 {
     player = new VideoPlayer();
     loadOk = false;
     step = 2;
     currentMode = Mode.Center;
     centerX = (graficDevice.Viewport.Width - graficDevice.Viewport.X) / 2;
     centerY = (graficDevice.Viewport.Height - graficDevice.Viewport.Y) / 2;
     screen = new Rectangle(centerX, centerY, 0, 0);
     maxHeight = 500;
     maxWidth = 400;
     moveStop = true;
 }
 public void createScene(GraphicsDeviceControl devControl, GraphicsDevice dev)
 {
     displayComponent= piktoViewManager.createScene(devControl,dev);
 }
Beispiel #4
0
 public Model3dDisplay(DisplayComponent d)
     : base(d)
 {
 }
Beispiel #5
0
 public CameraImageDisplay(DisplayComponent d)
     : base(d)
 {
 }