public GameScreenManager()
        {
            Dimensions = Resolution.Instance.VirtualResolution;
                currentScreen = new screens.SplashScreen();

                Image = new image.Image();
                Image.Path = "screenManager/FadeImage";
                Image.Effects = "image.effects.FadeEffect";
        }
Beispiel #2
0
 public CursorManager()
 {
     cursor = new image.Image();
         //cursor.Path = "images/cursor/Cursor16x16";
         cursor.Path = "images/cursor/Cursor32x32";
         //Starts at virtual res, is converted later.
         virtualMousePosition = new Vector2(((int)Resolution.Instance.VirtualResolution.X / 2), ((int)Resolution.Instance.VirtualResolution.Y / 2));
         //center of screen
         ResetState();
 }
Beispiel #3
0
        public Menu()
        {
            id = String.Empty;
            ItemNumber = 0;
            Effects = String.Empty;
            Axis = "Y";
            //Effects = "image.effects.FadeEffect";
            Items = new List<MenuItem>();

            MenuBackground = new image.Image();
            MenuBackground.Path = "images/splashScreen/MenuBackgroundTitle";
        }