public class ModifyPortalsUpdate extends SceneUpdate
| Modifier and Type | Field and Description |
|---|---|
Portal[] |
portalsAdded
The portals to be added to the scene.
|
Portal[] |
portalsRemoved
The portals to be removed from the room.
|
| Constructor and Description |
|---|
ModifyPortalsUpdate() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(SceneModel model)
Applies this update to the specified scene model.
|
void |
initialize(int targetId,
int targetVersion,
Portal[] removed,
Portal[] added)
Initialize the update with all necessary data.
|
getSceneId, getSceneVersion, getVersionIncrement, init, persistTo, readObject, toString, unpersistFrom, validate, writeObjectpublic Portal[] portalsRemoved
public Portal[] portalsAdded
public void initialize(int targetId,
int targetVersion,
Portal[] removed,
Portal[] added)
public void apply(SceneModel model)
SceneUpdatesuper.apply.apply in class SceneUpdateCopyright © 2015. All rights reserved.