Package sudoku
Class Player.GrantRewardMsg
- java.lang.Object
-
- sudoku.Player.GrantRewardMsg
-
- All Implemented Interfaces:
Player.Protocol
,SharedProtocols.AssessmentProtocol
- Enclosing class:
- Player
public static class Player.GrantRewardMsg extends Object implements Player.Protocol, SharedProtocols.AssessmentProtocol
Message from the Teacher granting the Player reward (or punishment if negative) for its choices.
-
-
Field Summary
Fields Modifier and Type Field Description akka.actor.typed.ActorRef<Teacher.Protocol>
_replyTo
float
_rewardValue
-
Constructor Summary
Constructors Constructor Description GrantRewardMsg(float rewardValue, akka.actor.typed.ActorRef<Teacher.Protocol> replyTo)
-
-
-
Field Detail
-
_rewardValue
public final float _rewardValue
-
_replyTo
public final akka.actor.typed.ActorRef<Teacher.Protocol> _replyTo
-
-
Constructor Detail
-
GrantRewardMsg
public GrantRewardMsg(float rewardValue, akka.actor.typed.ActorRef<Teacher.Protocol> replyTo)
-
-