Fixes for asdoc (which is a piece of shit, kthx).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@807 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -24,11 +24,9 @@ package com.threerings.whirled.client.persist {
|
|||||||
import flash.errors.IOError;
|
import flash.errors.IOError;
|
||||||
|
|
||||||
import com.threerings.whirled.data.SceneModel;
|
import com.threerings.whirled.data.SceneModel;
|
||||||
import com.threerings.whirled.util.NoSuchSceneError;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The scene repository provides access to a persistent repository of
|
* The scene repository provides access to a persistent repository of scene information.
|
||||||
* scene information.
|
|
||||||
*
|
*
|
||||||
* @see SceneModel
|
* @see SceneModel
|
||||||
*/
|
*/
|
||||||
@@ -37,30 +35,26 @@ public interface SceneRepository
|
|||||||
/**
|
/**
|
||||||
* Fetches the model for the scene with the specified id.
|
* Fetches the model for the scene with the specified id.
|
||||||
*
|
*
|
||||||
* @exception IOException thrown if an error occurs attempting to load
|
* @exception IOError thrown if an error occurs attempting to load the scene data.
|
||||||
* the scene data.
|
* @exception NoSuchSceneError thrown if no scene exists with the specified scene id.
|
||||||
* @exception NoSuchSceneException thrown if no scene exists with the
|
|
||||||
* specified scene id.
|
|
||||||
*/
|
*/
|
||||||
function loadSceneModel (sceneId :int) :SceneModel;
|
function loadSceneModel (sceneId :int) :SceneModel;
|
||||||
//throws IOException, NoSuchSceneException;
|
//throws IOError, NoSuchSceneError;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates or inserts this scene model as appropriate.
|
* Updates or inserts this scene model as appropriate.
|
||||||
*
|
*
|
||||||
* @exception IOException thrown if an error occurs attempting to
|
* @exception IOError thrown if an error occurs attempting to access the repository.
|
||||||
* access the repository.
|
|
||||||
*/
|
*/
|
||||||
function storeSceneModel (model :SceneModel) :void;
|
function storeSceneModel (model :SceneModel) :void;
|
||||||
//throws IOException;
|
//throws IOError;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes the specified scene model from the repository.
|
* Deletes the specified scene model from the repository.
|
||||||
*
|
*
|
||||||
* @exception IOException thrown if an error occurs attempting to
|
* @exception IOError thrown if an error occurs attempting to access the repository.
|
||||||
* access the repository.
|
|
||||||
*/
|
*/
|
||||||
function deleteSceneModel (sceneId :int) :void;
|
function deleteSceneModel (sceneId :int) :void;
|
||||||
//throws IOException;
|
//throws IOError;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,17 +22,14 @@
|
|||||||
package com.threerings.whirled.data {
|
package com.threerings.whirled.data {
|
||||||
|
|
||||||
import com.threerings.crowd.data.PlaceConfig;
|
import com.threerings.crowd.data.PlaceConfig;
|
||||||
import com.threerings.whirled.client.SceneController;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default scene config simply causes the default scene manager and
|
* The default scene config simply causes the default scene manager and controller to be created. A
|
||||||
* controller to be created. A user of the Whirled services would most
|
* user of the Whirled services would most likely extend the default scene config.
|
||||||
* likely extend the default scene config.
|
|
||||||
*
|
*
|
||||||
* <p> Note that this place config won't even work on the client side
|
* <p> Note that this place config won't even work on the client side because it instantiates a
|
||||||
* because it instantiates a {@link SceneController} which is an abstract
|
* SceneController which is an abstract class. It is used only for testing the server side and as a
|
||||||
* class. It is used only for testing the server side and as a placeholder
|
* placeholder in case standard scene configuration information is one day needed.
|
||||||
* in case standard scene configuration information is one day needed.
|
|
||||||
*/
|
*/
|
||||||
public class DefaultSceneConfig extends PlaceConfig
|
public class DefaultSceneConfig extends PlaceConfig
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user