private void Setup(ResponseTextCapsule responseTextCapsule) { responseEventText = responseTextCapsule.ResponseEvents.Key; responseEvents = responseTextCapsule.ResponseEvents; actions = responseTextCapsule.Actions; canvas = responseTextCapsule.EventTextCanvas; }
public ResponseObjective(Game1 game, Mission mission, String description, ResponseTextCapsule responseTextCapsule, EventTextCapsule eventTextCapsule) : base(game, mission, description) { Setup(responseTextCapsule); objectiveCompletedEventText = eventTextCapsule.CompletedText; objectiveFailedEventText = eventTextCapsule.FailedText; eventTextCanvas = eventTextCapsule.EventTextCanvas; }
public ResponseObjective(Game1 game, Mission mission, String description, ResponseTextCapsule responseTextCapsule) : base(game, mission, description) { Setup(responseTextCapsule); }