コンストラクタ修正

This commit is contained in:
ろむねこ 2024-06-11 10:25:10 +09:00
parent 42f4de6d75
commit b9f0513004
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -11,8 +11,9 @@ public class TaskItemModel {
long reward;
// constructor
public TaskItemModel(String internalId, String displayName, TaskConditionBaseModel condition, long reward) {
public TaskItemModel(String internalId, String displayName, String attachedChildId, TaskConditionBaseModel condition, long reward) {
this.internalId = internalId;
this.attachedChildId = attachedChildId;
this.displayName = displayName;
this.condition = condition;
this.reward = reward;