From 2e8818e3b5fb87394a756f70d1fb2d04d51d8323 Mon Sep 17 00:00:00 2001 From: Mike Thomas Date: Thu, 19 Aug 2010 22:44:09 +0000 Subject: [PATCH] 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 --- src/as/com/threerings/cast/CharacterManager.as | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/as/com/threerings/cast/CharacterManager.as b/src/as/com/threerings/cast/CharacterManager.as index 1ea84739..fa06dda2 100644 --- a/src/as/com/threerings/cast/CharacterManager.as +++ b/src/as/com/threerings/cast/CharacterManager.as @@ -81,6 +81,11 @@ public class CharacterManager return _actions.get(action); } + public function getComponent (compId :int) :CharacterComponent + { + return _crepo.getComponent(compId); + } + public function getActionFrames (descrip :CharacterDescriptor, action :String) :ActionFrames { if (!isLoaded(descrip)) {