package fr.lyrgard.hexScape.message;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class DiceThrownMessage extends AbstractPlayerMessage {
private String diceTypeId;
private List<Integer> results;
public DiceThrownMessage(
@JsonProperty("playerId") String playerId,
@JsonProperty("diceTypeId") String diceTypeId,
@JsonProperty("results") List<Integer> results) {
super(playerId);
this.diceTypeId = diceTypeId;
this.results = results;
}
public String getDiceTypeId() {
return diceTypeId;
}
public List<Integer> getResults() {
return results;
}
}