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
This commit is contained in:
Ray Greenwell
2009-08-24 02:55:11 +00:00
parent dc6f1a79cb
commit dc2cbcf8f7
+3 -2
View File
@@ -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