com.threerings.tudey.tools
Class ToolSceneRepository

java.lang.Object
  extended by com.threerings.whirled.server.persist.DummySceneRepository
      extended by com.threerings.tudey.tools.ToolSceneRepository
All Implemented Interfaces:
com.threerings.whirled.server.persist.SceneRepository

public class ToolSceneRepository
extends com.threerings.whirled.server.persist.DummySceneRepository

Returns a single scene model for all scene requests.


Constructor Summary
ToolSceneRepository()
           
 
Method Summary
 com.threerings.whirled.data.SceneModel loadSceneModel(int sceneId)
           
 void setSceneModel(com.threerings.whirled.data.SceneModel model)
          Sets the scene model to return.
 
Methods inherited from class com.threerings.whirled.server.persist.DummySceneRepository
applyAndRecordUpdate, loadExtras, loadUpdates
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolSceneRepository

public ToolSceneRepository()
Method Detail

setSceneModel

public void setSceneModel(com.threerings.whirled.data.SceneModel model)
Sets the scene model to return.


loadSceneModel

public com.threerings.whirled.data.SceneModel loadSceneModel(int sceneId)
Specified by:
loadSceneModel in interface com.threerings.whirled.server.persist.SceneRepository
Overrides:
loadSceneModel in class com.threerings.whirled.server.persist.DummySceneRepository


Copyright © 2011. All Rights Reserved.