コード例 #1
0
ファイル: TetrisRogue.cs プロジェクト: vogon/Zeplin
 public TetrisRogue()
 {
     game = new ZeplinGame();
     game.OnLoad += Load;
     game.OnUpdate += Update;
     game.Run();
 }
コード例 #2
0
ファイル: Game1.cs プロジェクト: zumpiez/Zeplin
 public Demo()
 {
     game = new ZeplinGame();
     //game.OnUpdate += DemoUpdateEveryFrame; //optionally inject custom code into the update call
     //game.OnLoad += LoadContent; //optionally inject custom code into the content load
     game.OnUpdate += UpdateImageTest;
     game.OnLoad += LoadImageTest;
     game.Run();
 }