Allow access to getComponent through the character manager rather than having to go through the repository.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@994 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -81,6 +81,11 @@ public class CharacterManager
|
|||||||
return _actions.get(action);
|
return _actions.get(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getComponent (compId :int) :CharacterComponent
|
||||||
|
{
|
||||||
|
return _crepo.getComponent(compId);
|
||||||
|
}
|
||||||
|
|
||||||
public function getActionFrames (descrip :CharacterDescriptor, action :String) :ActionFrames
|
public function getActionFrames (descrip :CharacterDescriptor, action :String) :ActionFrames
|
||||||
{
|
{
|
||||||
if (!isLoaded(descrip)) {
|
if (!isLoaded(descrip)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user