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

        ArgsList.RemoveAt(1);
        return(Manager.AddRecipeToHero(ArgsList, hero));
    }