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 InnerQuarters = ({ x, y }) =>
9 <Region name="inner-quarters" x={x} y={y}>
11 <Cell x={0} y={0} left="solid" top="solid" />
12 <Cell x={1} y={0} top="solid" />
13 <Cell x={2} y={0} right="solid" top="solid" />
14 <Cell x={0} y={1} left="solid" />
16 <Cell x={2} y={1} right="solid" />
17 <Cell x={0} y={2} left="solid" />
19 <Cell x={2} y={2} right="solid" />
20 <Cell x={0} y={3} left="solid" />
22 <Cell x={2} y={3} right="solid" />
23 <Cell x={0} y={4} bottom="solid" left="solid" />
24 <Cell x={1} y={4} bottom="solid" />
25 <Cell x={2} y={4} bottom="door" right="solid" />
28 <Cell x={0} y={0} bottom="door" left="solid" top="solid" />
29 <Cell x={1} y={0} bottom="solid" right="solid" top="solid" />
32 <Cell x={0} y={0} left="solid" top="door" />
33 <Cell x={1} y={0} right="solid" top="solid" />
34 <Cell x={0} y={1} left="solid" />
35 <Cell x={1} y={1} right="door" />
36 <Cell x={0} y={2} bottom="solid" left="solid" />
37 <Cell x={1} y={2} bottom="solid" right="solid" />
40 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
41 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
43 <Room type="save" x={3} y={5}>
44 <Cell bottom="solid" left="solid" right="door" top="solid" />
47 <Cell x={0} y={0} left="door" right="door" top="solid" />
48 <Cell x={0} y={1} left="door" right="door" />
49 <Cell x={0} y={2} left="solid" right="solid" />
50 <Cell x={0} y={3} bottom="door" left="door" right="solid" />
53 <Cell bottom="solid" left="door" right="door" top="solid" />
56 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
57 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
60 <Cell bottom="solid" left="door" right="solid" top="solid" />
63 <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
64 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
67 <Cell x={0} y={0} left="door" top="door" />
68 <Cell x={1} y={0} right="door" top="solid" />
69 <Cell x={0} y={1} bottom="solid" left="door" />
70 <Cell x={1} y={1} bottom="solid" right="solid" />
73 <Cell x={0} y={0} left="door" right="solid" top="solid" />
74 <Cell x={0} y={1} left="solid" right="solid" />
75 <Cell x={0} y={2} bottom="door" left="door" right="solid" />
77 <Room type="teleporter" x={5} y={7}>
78 <Cell bottom="solid" left="solid" right="door" top="solid" />
81 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
82 <Cell x={1} y={0} bottom="solid" top="solid" />
83 <Cell x={2} y={0} bottom="solid" top="solid" />
84 <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
87 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
88 <Cell x={1} y={0} bottom="solid" top="solid" />
89 <Cell x={2} y={0} bottom="solid" top="solid" />
90 <Cell x={3} y={0} bottom="door" top="solid" />
91 <Cell x={4} y={0} bottom="solid" top="solid" />
92 <Cell x={5} y={0} bottom="door" right="door" top="door" />
95 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
96 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
98 <Room type="transition right" x={13} y={8}>
99 <Cell bottom="solid" left="door" right="door" top="solid" />
101 <Room type="transition left" x={2} y={9}>
102 <Cell bottom="solid" left="door" right="door" top="solid" />
105 <Cell x={0} y={0} left="solid" right="door" top="solid" />
106 <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
108 <Room type="secret" x={4} y={9}>
109 <Cell bottom="solid" left="solid" right="door" top="door" />
111 <Room type="secret" x={5} y={9}>
112 <Cell bottom="solid" left="door" right="solid" top="solid" />
114 <Room type="transition left" x={7} y={9}>
115 <Cell bottom="solid" left="door" right="door" top="solid" />
118 <Cell bottom="solid" left="door" right="solid" top="door" />
121 <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
122 <Cell x={1} y={0} bottom="solid" right="solid" top="door" />
126 InnerQuarters.propTypes = {
131 export default InnerQuarters;