public override InteractionInstance CreateInstance(ref InteractionInstanceParameters parameters) { TakeElevatorToTopEx takeElevatorToTopEx = new TakeElevatorToTopEx(); takeElevatorToTopEx.Init(ref parameters); return(takeElevatorToTopEx); }
public override CommonWoohoo.WoohooStyle GetStyle(InteractionInstance paramInteraction) { TakeElevatorToTopEx takeElevatorToTopEx = paramInteraction as TakeElevatorToTopEx; if (takeElevatorToTopEx == null) { return(CommonWoohoo.WoohooStyle.Safe); } return(takeElevatorToTopEx.mStyle); }
public override void SetWooHooImpregnateAndStyle(InteractionInstance currentInteraction, bool impregnate, CommonWoohoo.WoohooStyle style) { TakeElevatorToTopEx takeElevatorToTopEx = currentInteraction as TakeElevatorToTopEx; if (takeElevatorToTopEx != null) { takeElevatorToTopEx.mImpregnate = impregnate; takeElevatorToTopEx.mStyle = style; } }
public override InteractionInstance CreateVisitInteractionForSim(Sim sim, InteractionDefinition defToPush, List <Sim> alreadyAdded, ref Dictionary <Sim, bool> simArrivalStatus) { TakeElevatorToTopEx hole = defToPush.CreateInstance(Target, sim, mPriority, false, true) as TakeElevatorToTopEx; if (hole != null) { hole.TourGroup.AddRange(alreadyAdded); if (base.InteractionDefinition is ElevatorDefinition) { if (simArrivalStatus == null) { simArrivalStatus = new Dictionary <Sim, bool> (); } simArrivalStatus.Add(sim, false); hole.SimArrivalStatus = simArrivalStatus; } } return(hole); }