Added output and always show congratulations on success with custome feedback
This commit is contained in:
parent
f5935c6923
commit
44366361a3
@ -39,10 +39,11 @@ public class AttackResult {
|
|||||||
return AttackResult.success("Congratulations");
|
return AttackResult.success("Congratulations");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static AttackResult success(String feedback) {
|
public static AttackResult success(String output) {
|
||||||
AttackResult attackResult = new AttackResult();
|
AttackResult attackResult = new AttackResult();
|
||||||
attackResult.lessonCompleted = true;
|
attackResult.lessonCompleted = true;
|
||||||
attackResult.feedback = "Congratulations";
|
attackResult.feedback = "Congratulations";
|
||||||
|
attackResult.output = output;
|
||||||
return attackResult;
|
return attackResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user