Ejemplo n.º 1
0
 public Bus()
 {
     Name = "Bus";
     Bio  = "The bus is packed with people and you have to queese in";
     ExitWithDescription.Add("door", "To be able to get off the bus you need to exit door");
     isLocked = false;
 }
Ejemplo n.º 2
0
        public ToBus(CharacterIs character)
        {
            Name = "Going from Home to Bus";

            if (character == CharacterIs.Ahmad)
            {
                Bio =
                    "You start walking straight towards the bud, " +
                    "with a feeling that something is missing... as always.";
            }
            else if (character == CharacterIs.Mimmi)
            {
                Bio =
                    "While walking down the street, " +
                    "you are greeted by alot of people with their special handshake. " +
                    "You surely aren't alone!";;
            }
            else if (character == CharacterIs.Markus)
            {
                Bio =
                    "When you exit the house you feel how life caress your face, " +
                    "you have plenty of time to catch your bus.";;
            }

            ExitWithDescription.Add("bus", "To be able to enter you need to have a valid item" +
                                    "that must be used. Otherwise you might need to take an Uber.");
            ExitWithDescription.Add("cab", "If you have a smartphone you can get an Uber right away!");
            ExitWithDescription.Add("home", "Forgot something? Do you need to go home?");

            isLocked = true;
        }
Ejemplo n.º 3
0
        public ToSchool()
        {
            Name = "In front of the School";
            Bio  = "You are walking directly to the door.";

            ExitWithDescription.Add("door", "This is the main door to the school");
            ExitWithDescription.Add("home", "Forgot something? Do you need to go home?");
        }
Ejemplo n.º 4
0
        public Cab()
        {
            Name = "Cab";
            Bio  = "Your'e inside a cab, in the backseat behind the driver. " +
                   "Suddenly you realise that someone has dropped a wallet between the seats. " +
                   "Soon you will be att your destination.... \n";

            Wallet wallet = new Wallet();

            itemsList.Add(wallet);

            isLocked = false;

            ExitWithDescription.Add("door", "To be able to get off the cab you need to exit door");
        }
Ejemplo n.º 5
0
        public School()
        {
            Name = "School";
            Bio  = "You are inside the school and are getting ready for the lecture " +
                   "Did you bring everything you need to get trough school? " +
                   "Last chance now!";
            isLocked = false;

            Coffe coffe = new Coffe();
            Food  food  = new Food();

            itemsList.Add(coffe);
            itemsList.Add(food);

            ExitWithDescription.Add("door", "To be able to win the game you " +
                                    "need exit the door to the classroom");
        }
Ejemplo n.º 6
0
        public Home(CharacterIs character)
        {
            Name     = "Home";
            isLocked = false;


            if (character == CharacterIs.Ahmad)
            {
                Bio = "BEEEB!!! BEEEP!!! BEEEB!!! BEEEP!!!" +
                      "Ugh! That damn alarm... SnOoooOooZZzzz..\n" +
                      "";
            }
            else if (character == CharacterIs.Mimmi)
            {
                Bio =
                    "You wake up! Everything is ready and in its place, " +
                    "you shut the alarm off before it starts ringing.";
            }
            else if (character == CharacterIs.Markus)
            {
                Bio = "Birds are chirping, the smell of lotus " +
                      "flowers enters the room as you breate your first morning breath.";
            }

            SmartPhone   smartPhone   = new SmartPhone();
            BusCardEmpty busCardEmpty = new BusCardEmpty();
            Food         food         = new Food();
            Keys         keys         = new Keys();
            Money        money        = new Money();

            itemsList.Add(smartPhone);
            itemsList.Add(busCardEmpty);
            itemsList.Add(food);
            itemsList.Add(keys);
            itemsList.Add(money);
            ;
            //Skapar exits i rummet
            ExitWithDescription.Add("door", "To be able to get to school you need to exit door");
            ExitWithDescription.Add("bed", "If you go to bed you may never wake up!");
        }