Ejemplo n.º 1
0
        public GameCanvas(int width, int height, GraphicsMode context, string title)
            : base(width, height, context, title)
        {
            m_StaticBody.BodyType = BodyType.Static;

            ThisCanvas = this;
        }
Ejemplo n.º 2
0
 static void Main()
 {
     using (GameCanvas canvas = new GameCanvas(800, 600, new OpenTK.Graphics.GraphicsMode(32, 4, 4, 8), "Stick Figure Battle Arena"))
     {
         canvas.Run();
     }
 }