示例#1
0
 public Location(int id, string name, string description, Item itemRequiredToEnter = null, Quest questAvailableHere = null, Monster monsterLivingHere = null, Bank bankAvailableHere = null)
 {
     ID = id;
     Name = name;
     Description = description;
     ItemRequiredToEnter = itemRequiredToEnter;
     QuestAvailableHere = questAvailableHere;
     MonsterLivingHere = monsterLivingHere;
     BankAvailableHere = bankAvailableHere;
 }
示例#2
0
 public static void PopulateBanks()
 {
     Bank townSquareBank = new Bank(BANK_ID_TOWN_SQUARE, Resources.Text.strTownSquareBank, Resources.Text.strTownSquareBankDesc, 0);
     Banks.Add(townSquareBank);
 }