public AbstractCloneableMinion BuildMinion(string minionType, string name, int lifepoints, string status, AbstractMinionLeader ml, ChatMediator CM) { switch (minionType) { case "Fixer": { minion = new MinionFixerUnit(name, lifepoints, status, (MinionFixerBoss)ml, CM); break; } case "StandingDecoy": { minion = new MinionStandingDecoyUnit(name, lifepoints, status, (MinionDecoyBoss)ml, CM); break; } case "MovingDecoy": { minion = new MinionMovingDecoyUnit(name, lifepoints, status, (MinionDecoyBoss)ml, CM); break; } } makeBody(); if (needHands()) { addHands(); } if (needLegs()) { addLegs(); } if (needRollerBlades()) { addRollerblades(); } if (needShield()) { addShield(); } if (needTools()) { addTools(); } return(minion); }
public override void removeMinion(AbstractCloneableMinion M) { minions.Remove(M); }
public abstract void addMinion(AbstractCloneableMinion m);
public abstract void removeMinion(AbstractCloneableMinion M);
public override void removeMinion(AbstractCloneableMinion m) { minions.Remove((MinionFixerUnit)m); }
public abstract void sendMessage(AbstractCloneableMinion sender, string msg);
public void Remove(AbstractCloneableMinion m) { minions.Remove(m); }
public void Add(AbstractCloneableMinion m) { minions.Add(m); }
public override void addMinion(AbstractCloneableMinion minion) { minions.Add(minion); }