예제 #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var g = new ColorzGame();

            SetContentView((View)g.Services.GetService(typeof(View)));
            g.GameFinished += (s, a) => Process.KillProcess(Process.MyPid());
            g.Run();
        }
예제 #2
0
 static void Main(string[] args)
 {
     using (var game = new ColorzGame())
         game.Run();
 }