コード例 #1
0
        protected Screen(IScreenContext game)
        {
            _layers = new List <ScreenLayer>();

            Game       = game;
            ClearColor = Color.CornflowerBlue;
            Animations = new AnimationSystem();
        }
コード例 #2
0
        public void InitialiseScreenContexts()
        {
            switch (_platform)
            {
            case Platform.Android:
                _screenContext = new AndroidScreenContext();
                break;

            case Platform.iOS:
                _screenContext = new iOSScreenContext();
                break;

            default:
                throw new NotImplementedException(_platform.ToString());
            }
        }
コード例 #3
0
 public AnimationDemo(IScreenContext game)
     : base(game)
 {
 }
コード例 #4
0
 public TiledMapDemo(IScreenContext game)
     : base(game)
 {
 }