public void PopBack() { if (ArgsList.Count > 0) { ArgsList.RemoveAt(ArgsList.Count - 1); } }
public override string Execute() { AbstractHero hero = (AbstractHero)this.Manager.heroes[ArgsList[1]]; ArgsList.RemoveAt(1); return(Manager.AddRecipeToHero(ArgsList, hero)); }