Create the lists and tables at construct time in case we never load up a
scene and are asked to look at that stuff. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1312 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DisplayMisoSceneImpl.java,v 1.55 2002/04/27 18:41:14 mdb Exp $
|
||||
// $Id: DisplayMisoSceneImpl.java,v 1.56 2002/04/28 01:37:02 mdb Exp $
|
||||
|
||||
package com.threerings.miso.scene;
|
||||
|
||||
@@ -142,10 +142,6 @@ public class DisplayMisoSceneImpl
|
||||
}
|
||||
|
||||
// create object tile instances for our objects
|
||||
_objects = new ArrayList();
|
||||
_coords = new HashMap();
|
||||
_actions = new HashMap();
|
||||
|
||||
for (int ii = 0; ii < ocount; ii+= 3) {
|
||||
int col = _model.objectTileIds[ii];
|
||||
int row = _model.objectTileIds[ii+1];
|
||||
@@ -279,11 +275,11 @@ public class DisplayMisoSceneImpl
|
||||
protected TileLayer _fringe;
|
||||
|
||||
/** The object tiles. */
|
||||
protected ArrayList _objects;
|
||||
protected ArrayList _objects = new ArrayList();
|
||||
|
||||
/** A map from object tile to coordinate records. */
|
||||
protected HashMap _coords;
|
||||
protected HashMap _coords = new HashMap();
|
||||
|
||||
/** A map from object tile to action string. */
|
||||
protected HashMap _actions;
|
||||
protected HashMap _actions = new HashMap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user