1 import PropTypes from 'prop-types';
2 import React from 'react';
4 import Cell from './Cell';
5 import Region from './Region';
6 import Room from './Room';
8 const TopFloor = ({ x, y }) =>
9 <Region name="top-floor" x={x} y={y}>
11 <Cell bottom="solid" left="solid" right="door" top="solid" />
14 <Cell bottom="solid" left="door" right="door" top="solid" />
17 <Cell x={2} y={0} left="door" top="solid" />
18 <Cell x={3} y={0} right="solid" top="solid" />
19 <Cell x={0} y={1} bottom="solid" left="solid" top="solid" />
20 <Cell x={1} y={1} bottom="solid" top="solid" />
21 <Cell x={2} y={1} bottom="door" />
22 <Cell x={3} y={1} bottom="solid" right="door" />
25 <Cell x={0} y={0} left="door" right="door" top="solid" />
26 <Cell x={0} y={1} bottom="door" left="solid" right="door" />
29 <Cell bottom="solid" left="door" right="solid" top="solid" />
32 <Cell bottom="solid" left="door" right="solid" top="solid" />
35 <Cell x={0} y={0} left="solid" top="solid" />
36 <Cell x={1} y={0} top="solid" />
37 <Cell x={2} y={0} top="door" />
38 <Cell x={3} y={0} right="door" top="solid" />
39 <Cell x={0} y={1} left="solid" />
42 <Cell x={3} y={1} right="solid" />
43 <Cell x={0} y={2} left="solid" />
46 <Cell x={3} y={2} right="door" />
47 <Cell x={0} y={3} bottom="solid" left="solid" />
48 <Cell x={1} y={3} bottom="door" />
49 <Cell x={2} y={3} bottom="solid" />
50 <Cell x={3} y={3} bottom="solid" right="door" />
53 <Cell x={0} y={0} left="solid" right="door" top="door" />
54 <Cell x={0} y={1} bottom="door" left="door" right="door" />
56 <Room type="save" x={5} y={3}>
57 <Cell bottom="solid" left="door" right="solid" top="solid" />
60 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
61 <Cell x={1} y={0} bottom="solid" top="solid" />
62 <Cell x={2} y={0} bottom="solid" right="door" top="solid" />
64 <Room type="transition right" x={8} y={4}>
65 <Cell bottom="solid" left="door" right="door" top="solid" />
68 <Cell x={0} y={0} left="door" top="door" />
69 <Cell x={1} y={0} right="solid" top="solid" />
70 <Cell x={0} y={1} bottom="solid" left="solid" />
71 <Cell x={1} y={1} bottom="door" right="solid" />
73 <Room type="secret" x={0} y={6}>
74 <Cell bottom="door" left="solid" right="solid" top="solid" />
77 <Cell x={0} y={0} bottom="solid" left="solid" top="door" />
78 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
80 <Room type="secret" x={3} y={6}>
81 <Cell bottom="solid" left="door" right="solid" top="solid" />
84 <Cell x={0} y={0} left="solid" top="door" />
85 <Cell x={1} y={0} right="door" top="solid" />
86 <Cell x={0} y={1} bottom="solid" left="solid" />
87 <Cell x={1} y={1} bottom="solid" right="door" />
90 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
91 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
94 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
95 <Cell x={1} y={0} bottom="solid" right="door" top="door" />
98 <Cell x={0} y={0} left="door" right="door" top="solid" />
99 <Cell x={0} y={1} left="solid" right="door" />
100 <Cell x={0} y={2} bottom="solid" right="door" left="door" />
103 <Cell bottom="solid" left="door" right="solid" top="solid" />
106 <Cell x={0} y={0} bottom="door" left="door" top="solid" />
107 <Cell x={1} y={0} bottom="solid" right="solid" top="solid" />
110 <Cell x={0} y={0} left="solid" top="solid" />
111 <Cell x={1} y={0} right="solid" top="solid" />
112 <Cell x={0} y={1} bottom="solid" left="door" />
113 <Cell x={1} y={1} bottom="solid" right="door" />
115 <Room type="teleporter" x={7} y={8}>
116 <Cell bottom="solid" left="door" right="solid" top="solid" />
119 <Cell x={0} y={0} bottom="solid" left="solid" top="door" />
120 <Cell x={1} y={0} bottom="door" right="door" top="solid" />
123 <Cell bottom="solid" left="door" right="solid" top="solid" />
125 <Room type="transition left" x={1} y={10}>
126 <Cell bottom="solid" left="door" right="door" top="solid" />
129 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
130 <Cell x={1} y={0} bottom="solid" right="door" top="door" />
132 <Room type="transition right" x={4} y={10}>
133 <Cell bottom="solid" left="door" right="door" top="solid" />
137 TopFloor.propTypes = {
142 export default TopFloor;