public override PeopleINPC GetPeople(PeopleNPCType peopleType) { switch (peopleType) { case PeopleNPCType.Cityboy: PeopleINPC cityboy = new Cityboy(); return(cityboy); case PeopleNPCType.Cowboy: PeopleINPC cowboy = new Cowboy(); return(cowboy); case PeopleNPCType.Weenie: PeopleINPC weenie = new Weenie(); return(weenie); } return(null); }
public abstract PeopleINPC GetPeople(PeopleNPCType humanType);
public override PeopleINPC GetPeople(PeopleNPCType humanType) { return(null); }