*** empty log message ***
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@639 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// $Id: BundledComponentRepositoryTest.java,v 1.1 2001/11/27 08:06:57 mdb Exp $
|
||||
|
||||
package com.threerings.cast.bundle;
|
||||
|
||||
import java.util.Iterator;
|
||||
import com.samskivert.util.StringUtil;
|
||||
import com.threerings.resource.ResourceManager;
|
||||
import com.threerings.cast.ComponentClass;
|
||||
|
||||
public class BundledComponentRepositoryTest
|
||||
{
|
||||
public static void main (String[] args)
|
||||
{
|
||||
try {
|
||||
ResourceManager rmgr = new ResourceManager(null, "rsrc");
|
||||
BundledComponentRepository repo =
|
||||
new BundledComponentRepository(rmgr, "components");
|
||||
|
||||
System.out.println("Classes: " + StringUtil.toString(
|
||||
repo.enumerateComponentClasses()));
|
||||
|
||||
System.out.println("Actions: " + StringUtil.toString(
|
||||
repo.enumerateActionSequences()));
|
||||
|
||||
System.out.println("Action sets: " + StringUtil.toString(
|
||||
repo._actionSets.values().iterator()));
|
||||
|
||||
Iterator iter = repo.enumerateComponentClasses();
|
||||
while (iter.hasNext()) {
|
||||
ComponentClass cclass = (ComponentClass)iter.next();
|
||||
System.out.println("IDs [" + cclass + "]: " +
|
||||
StringUtil.toString(
|
||||
repo.enumerateComponentIds(cclass)));
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ViewerSceneViewPanel.java,v 1.31 2001/11/18 04:09:21 mdb Exp $
|
||||
// $Id: ViewerSceneViewPanel.java,v 1.32 2001/11/27 08:06:57 mdb Exp $
|
||||
|
||||
package com.threerings.miso.viewer;
|
||||
|
||||
@@ -47,9 +47,9 @@ public class ViewerSceneViewPanel extends SceneViewPanel
|
||||
// configure the character manager from which we obtain sprites
|
||||
charmgr.setCharacterClass(MisoCharacterSprite.class);
|
||||
|
||||
// create the character descriptors
|
||||
_descUser = CastUtil.getRandomDescriptor(charmgr);
|
||||
_descDecoy = CastUtil.getRandomDescriptor(charmgr);
|
||||
// create the character descriptors FIXME
|
||||
_descUser = CastUtil.getRandomDescriptor(null);
|
||||
_descDecoy = CastUtil.getRandomDescriptor(null);
|
||||
|
||||
// create the manipulable sprite
|
||||
_sprite = createSprite(spritemgr, charmgr, _descUser);
|
||||
|
||||
Reference in New Issue
Block a user