public Rescue(bool isMe) { type = Warrior_Type.helper; myStatus = Const.imageList[(int)WarriorList.Rescue]; myRealStatus = myStatus[Const.Part.A]; if (isMe) { setValueFrom(Program.playerData[6]); } else { setValueFrom(Program.AIData[6]); } CDTime.setCoolDownTime(15); img.Image = myRealStatus[(int)Status.move]; img.Top = Const.mainLineHeight - Const.warriorHeight; }
public Hatchet(bool isMe) { type = Warrior_Type.attacker; myStatus = Const.imageList[(int)WarriorList.Hatchet]; myRealStatus = myStatus[Const.Part.A]; if (isMe) { setValueFrom(Program.playerData[3]); } else { setValueFrom(Program.AIData[3]); } setBonus(10); CDTime.setCoolDownTime(15); img.Image = myRealStatus[(int)Status.move]; img.Top = Const.mainLineHeight - Const.warriorHeight; }