pub trait Player<E: EndStatus> {
// Required method
fn reward_when_outcome_is(&self, outcome: &E) -> f32;
}
Expand description
The trait for the player.
Required Methods§
Sourcefn reward_when_outcome_is(&self, outcome: &E) -> f32
fn reward_when_outcome_is(&self, outcome: &E) -> f32
The reward for each player when the game ends with the given outcome.