Added biographies, fixed title commands error

This commit is contained in:
Waverunner
2014-02-19 14:45:02 -05:00
parent 98b84026e4
commit a2c361d612
13 changed files with 148 additions and 10 deletions
+13 -1
View File
@@ -41,7 +41,7 @@ import engine.resources.scene.Planet;
import engine.resources.scene.Point3D;
import engine.resources.scene.Quaternion;
@Persistent(version=3)
@Persistent(version=4)
public class PlayerObject extends IntangibleObject {
// PLAY 3
@@ -116,6 +116,8 @@ public class PlayerObject extends IntangibleObject {
private int jediState = 0; // unused in NGE
private String biography = "";
@NotPersistent
private PlayerMessageBuilder messageBuilder;
@@ -664,6 +666,16 @@ public class PlayerObject extends IntangibleObject {
}
}
public String getBiography() {
return biography;
}
public void setBiography(String biography) {
synchronized(objectMutex) {
this.biography = biography;
}
}
public int getFlagBitmask() {
synchronized(objectMutex) {
return flagBitmask;