コード例 #1
0
 public AreaTownCenter()
 {
     _areaName = "Town Center";
     //Town Center (Starting Scene)
     //scnTownCenter.LstActions.Add(new GameAction(scnTownCenter) { Obj1 = scnTownCenter.TimesVisited, Obj2 = 1, Operator = ">=", ActionType = "ShowText", Text = "If this case worked it will only show the the first time you arrive here." });
     DictStoryText.Add("DefaultText", "Town Center");
     //scnTownCenter.LstStoryText.Add("To your South is the Tavern");
     //scnTownCenter.LstStoryText.Add("To your West is the foot of the mountain");
 }
コード例 #2
0
 public AreaTavern()
 {
     _areaName = "Tavern";
     LstSceneObjects.Add(new Item {
         Description = "Gold Coin"
     });
     DictStoryText.Add("DefaultText", "You are in the Tavern.  you see a gold coin on the ground. Type 'pick up' to pick it up.");
     DictStoryText.Add("Returning Text", "You return to the Tavern.");
 }
コード例 #3
0
 public AreaTopOfMountain()
 {
     _areaName = "Top of the Mountain";
     DictStoryText.Add("DefaultText", "Top of the mountain");
 }
コード例 #4
0
 public AreaHalfUpMountain()
 {
     _areaName = "Half way up the Mountain";
     DictStoryText.Add("DefaultText", "Halfway up the mountain");
 }
コード例 #5
0
 public AreaFootOfMountain()
 {
     _areaName = "Foot of the mountain";
     DictStoryText.Add("DefaultText", "You are at the foot of the mountain");
 }