Ejemplo n.º 1
0
 private void theLoot_Load(object sender, EventArgs e)
 {
     //获取搜刮类,搜刮类从英雄当前的地区中获得
     Lootage         = (defaultLoot)this.Tag;
     blockName.Text  = Lootage.getTheBlock().getName();
     lootBar.Maximum = Lootage.getMaxLootIndex();
     lootBar.Value   = Lootage.getLootIndex();
     //将搜刮类的引用给英雄动作
     HeroLootAction.setLoot(Lootage);
     HeroLootAction.setLootMessage(lootMsg);
     HeroLootAction.setAddItemAction(Lootage.getAddItemAction());
 }
Ejemplo n.º 2
0
 public void setBlockLoot(defaultLoot blockLoot)
 {
     this.blockLoot = blockLoot;
 }
Ejemplo n.º 3
0
 public void setLoot(defaultLoot loot)
 {
     this.loot = loot;
 }