Beispiel #1
0
 public void Execute(EventResults result, Game game, EventContext context)
 {
     game.GiveJobTo(game.GetJobById(jobId), context.CurrentCharacter);
 }
Beispiel #2
0
 public bool Evaluate(EventContext context, Game game)
 {
     return game.GetJobById(jobId).CanPerformJob(context.CurrentCharacter, game);
 }
Beispiel #3
0
 public double Evaluate(Game game, EventContext context, Weights weights)
 {
     return weights.MeasureJob(context.CurrentCharacter, game.GetJobById(jobId));
 }