public static Courtesan clone(Role toClone, SimDescription actor) { Courtesan newRole = new Courtesan(toClone.Data, actor, toClone.RoleGivingObject); newRole.StartRole(); return newRole; }
public static Courtesan AssignedRole(Sim sim) { Role role = sim.SimDescription.AssignedRole; Courtesan courtesan = role as Courtesan; return(courtesan); }
public static Courtesan clone(Role toClone, SimDescription actor) { Courtesan newRole = new Courtesan(toClone.Data, actor, toClone.RoleGivingObject); newRole.StartRole(); return(newRole); }
public static CourtesansPerfume GetPerfume(Sim sim) { CourtesansPerfume perfume = null; Courtesan role = Courtesan.AssignedRole(sim); if (role != null) { perfume = role.GetPerfume(); } return(perfume); }