Exemple #1
0
    public Character CreateNewCharacter(Character.CharacterClass p_characterClass)
    {
        switch (p_characterClass)
        {
        case Character.CharacterClass.WARRIOR: return(warrior.WarriorConstructor());

        case Character.CharacterClass.ARCHER:  return(archer.ArcherConstructor());

        default: return(null);
        }
    }