public AddTileScreen(ScreenManager manager, Resources resources) : base(manager) { OpeningTransition = new NoneTransition(Transition.Types.Opening); ClosingTransition = new NoneTransition(Transition.Types.Closing); IsSubmitted = false; Resources = resources; }
public FormScreen(ScreenManager manager, Form baseForm, World world) : base(manager) { OpeningTransition = new NoneTransition(Transition.Types.Opening); ClosingTransition = new NoneTransition(Transition.Types.Closing); World = world; Form = baseForm; IsSubmitted = false; }
public AddAnimationScreen(ScreenManager manager, Resources resources) : base(manager) { OpeningTransition = new NoneTransition(Transition.Types.Opening); ClosingTransition = new NoneTransition(Transition.Types.Closing); IsSubmitted = false; Resources = resources; animCurrentlyBuilding = new Animation(Resources, new string[] { }, 1, true); animPlayer = new AnimationPlayer(); }
public PokeSiGame() { instance = this; graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = PreferredWidth; graphics.PreferredBackBufferHeight = PreferredHeight; graphics.IsFullScreen = IsFullScreen; Keyboard = new KeyboardManager(this); Mouse = new MouseManager(this); Input.Initilize(this); this.IsMouseVisible = true; Content.RootDirectory = "Content"; // Framerate differs between platforms. TargetElapsedTime = TimeSpan.FromTicks(TimeSpan.TicksPerSecond / TargetFrameRate); screenManager = new ScreenManager(this); }
public WorldScreen(ScreenManager manager) : base(manager) { OpeningTransition = new NoneTransition(Transition.Types.Opening); ClosingTransition = new NoneTransition(Transition.Types.Closing); }
public Screen(ScreenManager manager) { Manager = manager; State = States.Sleeping; }