예제 #1
0
        public ExampleWindow()
            : base(800, 600, new GraphicsMode(32, 8, 0, 4))
        {
            cam = new Camera();

            Keyboard.KeyDown += OnKeyboardKeyDown;
            Keyboard.KeyUp += OnKeyboardKeyUp;
            Mouse.ButtonDown += OnMouseButtonDown;
            Mouse.ButtonUp += OnMouseButtonUp;
            Mouse.Move += OnMouseMove;
            Mouse.WheelChanged += OnMouseWheel;

            this.Title = "SharpNav Example";
            this.Icon = SharpNav.Examples.Properties.Resources.Icon;
        }