package { public class LevelModel { public var tiles:Vector.; public var doodads:Vector.; public var officeOwners:Vector.; public var coworkers:Vector.; public var playerStartPosition:Vector2; public var playerStartFacing:int; private var tileCountX:int; private var tileCountZ:int; private static var __:int = -1; private static var Ws:int = TileModel.TILE_WallS; private static var We:int = TileModel.TILE_WallE; private static var Wc:int = TileModel.TILE_CornerSE; private static var we:int = TileModel.TILE_OfficeWindowE; private static var ws:int = TileModel.TILE_OfficeWindowS; private static var Dn:int = TileModel.TILE_DoorFrameN; private static var Ds:int = TileModel.TILE_DoorFrameS; private static var De:int = TileModel.TILE_DoorFrameE; private static var Dw:int = TileModel.TILE_DoorFrameW; private static var EL:int = TileModel.TILE_ElevatorLeftS; private static var ER:int = TileModel.TILE_ElevatorRightS; private static var WC:int = TileModel.TILE_BathroomDoorFE; private static var MC:int = TileModel.TILE_BathroomDoorME; private static var Fe:int = TileModel.TILE_FridgeE; private static var Xe:int = TileModel.TILE_CountertopEndS; private static var Ye:int = TileModel.TILE_TrashE; private static var Ze:int = TileModel.TILE_CountertopEndN; private static var ne:int = TileModel.TILE_DeskNearE; private static var ns:int = TileModel.TILE_DeskNearS; private static var de:int = TileModel.TILE_DeskFarE; private static var ds:int = TileModel.TILE_DeskFarS; private static var pp:int = TileModel.TILE_PotPlant; private static var Ce:int = TileModel.TILE_ComputerE; private static var Cs:int = TileModel.TILE_ComputerS; private static var me:int = TileModel.TILE_MicrowaveE; private static var Me:int = TileModel.TILE_CoffeemakerE; private static var ue:int = TileModel.TILE_SinkE; private static var Ps:int = TileModel.TILE_ClutterS; private static var Ks:int = TileModel.TILE_Keys; private static var cs:int = TileModel.TILE_CoffeeHotS1; private static var ce:int = TileModel.TILE_CoffeeHotE1; private static var _e:int = TileModel.TILE_EdgeNE; private static var _w:int = TileModel.TILE_EdgeSW; public function LevelModel() { tileCountX = 14; tileCountZ = 15; tiles = new [ __, Ws, Ws, Ws, Ws, Ws, EL, ER, Ws, Ws, Ws, Ws, Ws, Ws, WC, __, __, __, __, pp, __, __, pp, we, __, ds, ns, we, We, pp, __, __, __, __, __, __, __, we, __, __, __, we, MC, __, __, __, __, __, __, __, __, we, __, __, __, we, We, Ws, Ws, ws, Ws, _e, __, __, __, we, __, __, __, we, We, ds, ns, __, We, __, __, __, __, Dw, __, __, __, we, We, __, __, __, we, __, __, __, __, We, Ws, Ws, Ws, Wc, We, __, __, __, we, __, __, __, __, Dw, __, __, __, we, We, __, __, __, we, __, __, __, __, we, __, __, __, we, We, __, __, __, De, __, __, __, __, we, de, __, __, we, We, Ws, Ws, Ws, Wc, __, __, __, __, we, ne, __, __, we, We, Fe, __, __, __, __, __, __, __, we, __, __, __, we, We, Ze, __, __, __, __, __, __, __, We, Ws, Ws, Ws, Wc, We, Ye, __, __, __, __, __, __, __, _w, __, __, pp, we, We, Xe, __, __, __, __, __, __, __, __, __, __, __, we, ]; doodads = new [ __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, Ps, Cs, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, Ks, Cs, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, cs, __, __, __, __, __, __, __, __, __, __, __, __, __, Ce, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, Me, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, ue, __, __, __, __, __, __, __, __, __, __, __, __, ]; // 0 = player, coworkers are indexed starting at 1 officeOwners = new [ __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, 0, 0, 0, __, __, __, __, __, __, __, __, __, __, __, 0, 0, 0, __, __, __, __, __, __, __, __, __, __, __, 0, 0, 0, __, __, __, __, __, __, __, __, __, __, __, 0, 0, 0, __, __, 2, 2, 2, __, __, __, __, __, __, 0, 0, 0, __, __, 2, 2, 2, __, __, __, __, __, __, __, __, __, __, __, 2, 2, 2, __, __, __, __, __, __, 1, 1, 1, __, __, 2, 2, 2, __, __, __, __, __, __, 1, 1, 1, __, __, 2, 2, 2, __, __, __, __, __, __, 1, 1, 1, __, __, __, __, __, __, __, __, __, __, __, 1, 1, 1, __, __, __, __, __, __, __, __, __, __, __, 1, 1, 1, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, __, ]; coworkers = new [ {gender: Gender.FEMALE, position: {x: 6, z: 1}, facing: Direction.SOUTH}, {gender: Gender.MALE, position: {x: 7, z: 1}, facing: Direction.SOUTH}, ]; playerStartPosition = new Vector2(11, 3); playerStartFacing = Direction.SOUTH; } public function get sizeX():int { return tileCountX; } public function get sizeZ():int { return tileCountZ; } } }