Add ability to access components by name as well as by ID via the manager.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@995 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2010-08-20 16:53:24 +00:00
parent 2e8818e3b5
commit 9dc56e21b7
@@ -86,6 +86,11 @@ public class CharacterManager
return _crepo.getComponent(compId);
}
public function getComponentByName (cclass :String, cname :String) :CharacterComponent
{
return _crepo.getComponentByName(cclass, cname);
}
public function getActionFrames (descrip :CharacterDescriptor, action :String) :ActionFrames
{
if (!isLoaded(descrip)) {