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