示例#1
0
 public static void Main(IocBuilder builder)
 {
     using (var game = new CedrusGame(builder))
     {
         game.Run();
     }
 }
示例#2
0
        public static void Main()
        {
            var builder = new IocBuilder();

            builder.RegisterModules(Assembly.GetExecutingAssembly());

            using (var game = new CedrusGame(builder))
            {
                game.Run();
            }
        }