示例#1
0
 public SpriteTest()
 {
     logic = new SpriteLogic(new MemorySpriteContext());
 }
        public SpriteController(IHostingEnvironment env)
        {
            this.env = env;

            logic = new SpriteLogic(new SqlSpriteContext("Server=localhost;Database=dungeon_survivor;Uid=root;Pwd=test;"));
        }