// 是否存在其他EliteMonster将要或正在攻击玩家 public bool HasToOrHoldingElite(EliteMonster elite) { foreach (EliteMonster e in mEliteMonster) { if (e == elite) { continue; } if (e.IsToHoldOrHolding()) { return(true); } } return(false); }
public EPatrolState(EliteMonster eliteMonster) { elMon = eliteMonster; }
public EAttackState(EliteMonster eliteMonster) { elMon = eliteMonster; }
public EChaseState(EliteMonster eliteMonster) { elMon = eliteMonster; }
public void RemoveEliteMonster(EliteMonster eliteMonster) { mEliteMonster.Remove(eliteMonster); }
// 精英怪 public void AddEliteMonster(EliteMonster eliteMonster) { mEliteMonster.Add(eliteMonster); }