Spectate mode can be selected by clients when they join a game.
#story[1194]
This commit is contained in:
@@ -14,15 +14,25 @@ public class ThisBoat {
|
||||
}
|
||||
|
||||
public void setSailsOut(boolean sailsOut) {
|
||||
this.boat.setSailsOut(sailsOut);
|
||||
if (this.boat != null) {
|
||||
this.boat.setSailsOut(sailsOut);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isSailsOut() {
|
||||
return this.boat.isSailsOut();
|
||||
if (this.boat != null) {
|
||||
return this.boat.isSailsOut();
|
||||
} else {
|
||||
return true;//TODO junk value to allow the client to spectate.
|
||||
}
|
||||
}
|
||||
|
||||
public int getSourceID() {
|
||||
return this.boat.getSourceID();
|
||||
if (this.boat != null) {
|
||||
return this.boat.getSourceID();
|
||||
} else {
|
||||
return 0;//TODO junk value to allow the client to spectate.
|
||||
}
|
||||
}
|
||||
|
||||
public void setBoat(VisualiserBoat boat) {
|
||||
|
||||
Reference in New Issue
Block a user