Example #1
0
        public string JoinParty(string[] args)
        {
            string faction       = args[0];
            string characterType = args[1];
            string name          = args[2];

            var character = CharacterFactory.CreateCharacter(faction, characterType, name);

            party.Add(character);
            return(string.Format(OutputMessages.JoinedParty(), name));
        }