ae1052a371
things compile and most things run so this is a good time to checkpoint. Let me recall: - Refactored the whole scene deal. - Revamped the XML parser stuff (now uses Digester). - Rethought the tile management. - Started tile bundle stuff. - Wrote some tests. - Did a bit of Mike-ification. Onward and moreward. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@621 542714f4-19e9-0310-aa3c-eee0fc999fb1
31 lines
932 B
Java
31 lines
932 B
Java
//
|
|
// $Id: MisoSceneModel.java,v 1.1 2001/11/18 04:09:22 mdb Exp $
|
|
|
|
package com.threerings.miso.scene;
|
|
|
|
/**
|
|
* The scene model is the bare bones representation of the data for a
|
|
* scene in the Miso system. From the scene model, one would create an
|
|
* instance of {@link DisplayMisoScene}.
|
|
*/
|
|
public class MisoSceneModel
|
|
{
|
|
/** The width of the scene in tile units. */
|
|
public int width;
|
|
|
|
/** The height of the scene in tile units. */
|
|
public int height;
|
|
|
|
/** The combined tile ids (tile set id and tile id) of the tiles in
|
|
* the base layer, in row-major order. */
|
|
public int[] baseTileIds;
|
|
|
|
/** The combined tile ids (tile set id and tile id) of the tiles in
|
|
* the fringe layer, in row-major order. */
|
|
public int[] fringeTileIds;
|
|
|
|
/** The combined tile ids (tile set id and tile id) of the files in
|
|
* the object layer in (x, y, tile id) format. */
|
|
public int[] objectTileIds;
|
|
}
|