public class UpdateList extends Object
SceneUpdate objects.| Constructor and Description |
|---|
UpdateList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdate(SceneUpdate update)
Adds an update to this list.
|
SceneUpdate[] |
getUpdates(int fromVersion)
Returns all of the updates that should be applied to a scene with the specified version to
bring it up to date.
|
boolean |
validate(int sceneVersion)
Returns true if the supplied actual scene version is in accordance with the updates
contained in this list.
|
public void addUpdate(SceneUpdate update)
public SceneUpdate[] getUpdates(int fromVersion)
null is returned if the scene's version is older than the
oldest update in our list, in which case it cannot be brought up to date by applying updates
from this list.public boolean validate(int sceneVersion)
Copyright © 2015. All rights reserved.