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:
@@ -34,7 +34,8 @@ import mx.managers.SystemManager;
|
|||||||
import mx.styles.CSSStyleDeclaration;
|
import mx.styles.CSSStyleDeclaration;
|
||||||
import mx.styles.StyleManager;
|
import mx.styles.StyleManager;
|
||||||
|
|
||||||
import com.threerings.util.HashMap;
|
import com.threerings.util.Map;
|
||||||
|
import com.threerings.util.Maps;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A better CursorManager.
|
* A better CursorManager.
|
||||||
@@ -275,7 +276,7 @@ public class CursorManager
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** A mapping of all assigned cursor ids. */
|
/** 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
|
private static var _currentCursorId :int = 0; // SYSTEM_CURSOR
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user