Example #1
0
 public FlorineApp(ISkiaSharpFlorineDataSource dataHolder) : base()
 {
     _data = dataHolder;
     ResourceLoader.DataSource = _data;
     _foundry    = new FlorineSkiaSharpForms.SkiaSharpFormsFoundry();
     _controller = new Florine.Controller(_foundry);
     _controller.Init();
     ImageText.GameController = _controller;
     MainPage = new SkiaFlorinePage(_controller, _foundry);
 }
Example #2
0
        public Launcher(System.Web.UI.Page page)
        {
            _foundry    = new FlorineWeb.WebFoundry(page);
            _controller = new Florine.Controller(_foundry);
            _controller.Init();

            IGameOption opt = _foundry.GetChosenOption(_controller);

            if (null != opt)
            {
                _controller.UserOption(opt);
            }
        }