Beispiel #1
0
        public Chapter03()
            : base("Tray.Chapter03")
        {
            this.canvasOverlay = new CanvasOverlay(
                this.GraphicsDevice,
                this.ResourceFactory,
                this.Window.Width,
                this.Window.Height);

            this.scene     = new Scene(this.canvasOverlay.Canvas);
            this.frequency = this.scene.Frequency;
        }
Beispiel #2
0
        public Chapter02()
            : base("Tray.Chapter02")
        {
            this.canvasOverlay = new CanvasOverlay(
                this.GraphicsDevice,
                this.ResourceFactory,
                this.Window.Width,
                this.Window.Height);

            this.scene = new Scene(this.canvasOverlay.Canvas);
            this.scene.Init(
                this.origin,
                this.direction,
                this.velocity,
                this.gravity,
                this.wind,
                this.stepCount);
        }