示例#1
0
 public User(Character character)
 {
     Coords     = new MovableCoords();
     Characters = new List <Character>()
     {
         character
     };
     Bag = new Inventory();
     Bag.Add(new Item("Small potion", "description"));
     Bag.Add(new Item("Small potion", "description"));
     Bag.Add(new Item("Small potion", "description"));
     Bag.Add(new Item("Something else", "description"));
     Bag.Add(new Item("Small potion", "description"));
     Bag.Add(new Item("Something else", "description"));
     Bag.Add(new Item("Something else", "description"));
     Bag.Add(new Item("Something else", "description"));
     Bag.Add(new Item("Small potion", "description"));
     Bag.Add(new Item("nothing", "description"));
     Bag.Add(new Item("nothing", "description"));
     Bag.Add(new Item("nothing", "description"));
 }
示例#2
0
 public User(List <Character> characters, MovableCoords coords, int gold)
 {
     Characters = characters;
     Coords     = coords;
     Gold       = gold;
 }
示例#3
0
 public User()
 {
     Coords     = new MovableCoords();
     Characters = new List <Character>();
     Bag        = new Inventory();
 }