Exemple #1
0
 public Shop(string titleText, string[] menuText, Player player, Applet.Shop shop)
 {
     _shop = shop;
     _player = player;
     _menuText = menuText;
     _titleText = titleText;
     _background = new ImageUnit(BackgroundImageName);
     _choiceBackground = new ImageUnit(ChoiceBackgroundImageName);
     _currentChoice = 0;
 }
Exemple #2
0
 public Shop(ImageUnit img, MapObjectType type)
     : base(img, type)
 {
     _shop = Applet.Shop.GetInstance();
 }
Exemple #3
0
 public Shop(List<ImageUnit> frames, MapObjectType type)
     : base(frames, type)
 {
     _shop = Applet.Shop.GetInstance();
 }