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 AddSpriteScreen(ScreenManager manager, Resources resources)
            : base(manager)
        {
            OpeningTransition = new NoneTransition(Transition.Types.Opening);
            ClosingTransition = new NoneTransition(Transition.Types.Closing);

            IsSubmitted = false;
            Resources   = resources;
        }
Exemple #3
0
        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;
        }
Exemple #4
0
        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;
        }
Exemple #5
0
        public ListPresenterScreen(ScreenManager manager, Resources resources, Func <Dictionary <string, T> > updateDataFunc)
            : base(manager)
        {
            OpeningTransition = new NoneTransition(Transition.Types.Opening);
            ClosingTransition = new NoneTransition(Transition.Types.Closing);

            Resources      = resources;
            UpdateDataFunc = updateDataFunc;
            IsSubmitted    = false;
            animPlayer     = new AnimationPlayer();
        }
        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 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();
        }
Exemple #8
0
 public WorldScreen(ScreenManager manager)
     : base(manager)
 {
     OpeningTransition = new NoneTransition(Transition.Types.Opening);
     ClosingTransition = new NoneTransition(Transition.Types.Closing);
 }
Exemple #9
0
 public MainMenuScreen(ScreenManager manager)
     : base(manager)
 {
     OpeningTransition = new NoneTransition(Transition.Types.Opening);
     ClosingTransition = new NoneTransition(Transition.Types.Closing);
 }