예제 #1
0
 private void Setup(ResponseTextCapsule responseTextCapsule)
 {
     responseEventText = responseTextCapsule.ResponseEvents.Key;
     responseEvents    = responseTextCapsule.ResponseEvents;
     actions           = responseTextCapsule.Actions;
     canvas            = responseTextCapsule.EventTextCanvas;
 }
예제 #2
0
        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;
        }
예제 #3
0
 public ResponseObjective(Game1 game, Mission mission, String description, ResponseTextCapsule responseTextCapsule) :
     base(game, mission, description)
 {
     Setup(responseTextCapsule);
 }