示例#1
0
 public override void init(Game game)
 {
     this.game = game;
     if (vboIndex < 0)
     {
         vboIndex = game.GetVboHelper().addToVBO(vertices);
     }
 }
示例#2
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            VSync = VSyncMode.Off;
            this.CursorVisible = false;

            GL.ClearColor(new Color4(255,255,255,0));

            game = new Game(1280, 720);
        }
示例#3
0
 public LevelParser(Game game)
 {
     this.game = game;
 }
示例#4
0
 public abstract void init(Game game);
示例#5
0
 public override void init(Game game)
 {
 }
示例#6
0
 public override void init(Game game)
 {
 }