예제 #1
0
        public AddTileScreen(ScreenManager manager, Resources resources)
            : base(manager)
        {
            OpeningTransition = new NoneTransition(Transition.Types.Opening);
            ClosingTransition = new NoneTransition(Transition.Types.Closing);

            IsSubmitted = false;
            Resources = resources;
        }
예제 #2
0
        public AddSpriteScreen(ScreenManager manager, Resources resources)
            : base(manager)
        {
            OpeningTransition = new NoneTransition(Transition.Types.Opening);
            ClosingTransition = new NoneTransition(Transition.Types.Closing);

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