public GameStateAssignment(GameContext context, Main.LayerName layer) : base(context, layer) { buttons = GetComponentsForLayer <GazeButton>(); assignmentElements = GetComponentForLayer <AssignmentElements>(); turtleTimeline = assignmentElements.TurtleTimeline; poemTimeline = assignmentElements.PoemTimeline; turtleMarkers = turtleTimeline.LabelMarkerTimes(); }
public GameStateSailToAssignment(GameContext context, Main.LayerName layer) : base(context, layer) { targetLocation = GetComponentForLayer <NavLocationTrigger>(); distanceWarning = GetComponentForLayer <DistanceWarning>(); context.Boat.NoGoWarning.Reference = distanceWarning.transform; // make it turn into the direction we need to sail }