first commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package com.xuezhanmaster.strategy.domain;
|
||||
|
||||
import com.xuezhanmaster.game.domain.ActionType;
|
||||
import com.xuezhanmaster.game.domain.Tile;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class CandidateAction {
|
||||
|
||||
private final ActionType actionType;
|
||||
private final Tile tile;
|
||||
private final int score;
|
||||
private final List<ReasonTag> reasonTags;
|
||||
|
||||
public CandidateAction(ActionType actionType, Tile tile, int score, List<ReasonTag> reasonTags) {
|
||||
this.actionType = actionType;
|
||||
this.tile = tile;
|
||||
this.score = score;
|
||||
this.reasonTags = reasonTags;
|
||||
}
|
||||
|
||||
public ActionType getActionType() {
|
||||
return actionType;
|
||||
}
|
||||
|
||||
public Tile getTile() {
|
||||
return tile;
|
||||
}
|
||||
|
||||
public int getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public List<ReasonTag> getReasonTags() {
|
||||
return reasonTags;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user