山河社稷图
parent
f561f686e9
commit
8ab1fafc40
|
@ -32,7 +32,7 @@ public class HardStageChapter extends MongoBase {
|
||||||
public void addNodeList(HardStageNode node) {
|
public void addNodeList(HardStageNode node) {
|
||||||
this.nodeList.add(node);
|
this.nodeList.add(node);
|
||||||
node.init(this.getRootId(), getMongoKey() + ".nodeList." + node.getId());
|
node.init(this.getRootId(), getMongoKey() + ".nodeList." + node.getId());
|
||||||
updateString("nodeList." + node.getId(), node);
|
updateString("nodeList" ,nodeList);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getStars() {
|
public int getStars() {
|
||||||
|
|
|
@ -19,6 +19,7 @@ public class HardStageNode extends MongoBase {
|
||||||
|
|
||||||
public void setId(int id) {
|
public void setId(int id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
|
updateString("id" , this.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getType() {
|
public int getType() {
|
||||||
|
@ -27,6 +28,7 @@ public class HardStageNode extends MongoBase {
|
||||||
|
|
||||||
public void setType(int type) {
|
public void setType(int type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
updateString("type" , this.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getState() {
|
public int getState() {
|
||||||
|
@ -35,6 +37,7 @@ public class HardStageNode extends MongoBase {
|
||||||
|
|
||||||
public void setState(int state) {
|
public void setState(int state) {
|
||||||
this.state = state;
|
this.state = state;
|
||||||
|
updateString("state" , this.state);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, Boolean> getRewardMap() {
|
public Map<Integer, Boolean> getRewardMap() {
|
||||||
|
@ -51,5 +54,6 @@ public class HardStageNode extends MongoBase {
|
||||||
|
|
||||||
public void setHasPass(boolean hasPass) {
|
public void setHasPass(boolean hasPass) {
|
||||||
this.hasPass = hasPass;
|
this.hasPass = hasPass;
|
||||||
|
updateString("hasPass" , this.hasPass);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue