public void TryOn(GameProcess gp) { if (!Activated) { new InputPasswordForm(this, gp).ShowDialog(); } }
public GameShop(Shop shop, Character character, GameProcess gp) { InitializeComponent(); this.shop = shop; this.character = character; for (int i = 0; i < shop.ShopItems.Count; i++) { rectangles.Add(new Rectangle()); } this.gp = gp; }
public void ToShop(Character ch, GameProcess gp) { if (Activated) { gp.pause = true; ISprite isprite; foreach (ShopItem si in ShopItems) { if (si.GameImage.Image == null) { (isprite = si).LoadSprite(); } } new GameShop(this, ch, gp).ShowDialog(); } }
public InputPasswordForm(SwitcherPassword spassword, GameProcess gameprocess) { InitializeComponent(); this.spassword = spassword; this.gameprocess = gameprocess; }
public GamePause(GameProcess gameprocess, GameMenu gamemenu) { InitializeComponent(); this.gameprocess = gameprocess; this.gamemenu = gamemenu; }