public void ChangeFollower(ICommander commander, NPCController follower) { for (int j = 0; j < stationNPC.Length; j++) { if (stationNPC[j] == follower) { return; } } follower.ClearAllCommand(); commander.AddFollower(follower); Followers.Remove(follower); }
public void ChangeFollower(ICommander commander, NPCController follower) { follower.ClearAllCommand(); commander.AddFollower(follower); Followers.Remove(follower); }