From dc2cbcf8f779e013f7698c0e860dfb6872d790e4 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Mon, 24 Aug 2009 02:55:11 +0000 Subject: [PATCH] Use new Maps factory. Does anyone care about this crappy class? git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@852 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flex/CursorManager.as | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/as/com/threerings/flex/CursorManager.as b/src/as/com/threerings/flex/CursorManager.as index ccb6a855..3af51986 100644 --- a/src/as/com/threerings/flex/CursorManager.as +++ b/src/as/com/threerings/flex/CursorManager.as @@ -34,7 +34,8 @@ import mx.managers.SystemManager; import mx.styles.CSSStyleDeclaration; import mx.styles.StyleManager; -import com.threerings.util.HashMap; +import com.threerings.util.Map; +import com.threerings.util.Maps; /** * A better CursorManager. @@ -275,7 +276,7 @@ public class CursorManager } /** A mapping of all assigned cursor ids. */ - private static const _cursors :HashMap = new HashMap(); + private static const _cursors :Map = Maps.newMapOf(int); private static var _currentCursorId :int = 0; // SYSTEM_CURSOR