protected Screen(IScreenContext game) { _layers = new List <ScreenLayer>(); Game = game; ClearColor = Color.CornflowerBlue; Animations = new AnimationSystem(); }
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()); } }
public AnimationDemo(IScreenContext game) : base(game) { }
public TiledMapDemo(IScreenContext game) : base(game) { }