Exemplo n.º 1
0
        public override void Initialize()
        {
            sprite = spriteSheet.GetSubSprite(new Rectangle(724, 1075, 54, 55));
            base.Initialize();

            overworldEvent = new DisplayTextOE("A simple asteroid floating in space.");
        }
Exemplo n.º 2
0
        public override void Initialize()
        {
            sprite   = spriteSheet.GetSubSprite(new Rectangle(15, 55, 91, 37));
            position = new Vector2(100000, 110000);
            name     = "Destroyed Ship";

            base.Initialize();

            overworldEvent = new DisplayTextOE("You find the remnants of a ship drifting through space. The ship seems to be of civilian origin and the hull shows signs of blast damage. But you are unable to determine who the attacker might have been.");
        }
Exemplo n.º 3
0
        public override void Initialize()
        {
            sprite   = spriteSheet.GetSubSprite(new Rectangle(1071, 1075, 512, 513));
            position = new Vector2(85000 + 7000, 85000 + 10000);
            name     = "Fortrun";

            base.Initialize();

            overworldEvent = new DisplayTextOE("A big planet rich with valuable resources. Heavy exploitation over many years has left the planet's atmosphere extremely hazardous.");
        }
Exemplo n.º 4
0
        public override void Initialize()
        {
            sprite   = spriteSheet.GetSubSprite(new Rectangle(311, 966, 412, 412));
            position = new Vector2(100000, 112000);
            name     = "Soelara";

            base.Initialize();

            overworldEvent = new DisplayTextOE("A big gas giant. A space station orbits the planet.");
        }
Exemplo n.º 5
0
        public override void Initialize()
        {
            sprite   = spriteSheet.GetSubSprite(new Rectangle(0, 1080, 310, 309));
            position = new Vector2(85000 + 28000, 85000 + 1000);
            name     = "Lavis";

            base.Initialize();

            overworldEvent = new DisplayTextOE("The surface is completly covered in ice. The main source of income is water harvesting.");
        }
Exemplo n.º 6
0
        public override void Initialize()
        {
            sprite   = spriteSheet.GetSubSprite(new Rectangle(342, 871, 93, 93));
            position = MathFunctions.CoordinateToPosition(new Vector2(1500, 2000));
            name     = "Information Station";

            base.Initialize();

            isHidden = true;

            overworldEvent = new DisplayTextOE("The station seems to be abandoned. There is a strange air about it though.");
        }
Exemplo n.º 7
0
        public override void Initialize()
        {
            sprite = spriteSheet.GetSubSprite(new Rectangle(580, 9, 239, 224));

            name = "Mining Asteroids";

            position   = new Vector2(124500, 93000);
            scale      = 1f;
            color      = Color.White;
            layerDepth = 0.5f;

            base.Initialize();
            overworldEvent = new DisplayTextOE("A group of asteroids used for mining.");
        }
Exemplo n.º 8
0
        public override Boolean Activate()
        {
            var     eventTextList         = new List <String>();
            Boolean successfullyActivated = false;

            if (!IsCleared())
            {
                if (displayText == "")
                {
                    displayText = GetProgressBasedText();
                }

                var itemOE = new DisplayTextOE(displayText);
                successfullyActivated = itemOE.Activate();
            }

            return(successfullyActivated);
        }