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 ClockTower = ({ x, y }) =>
9 <Region name="clock-tower" x={x} y={y}>
11 <Cell bottom="solid" left="solid" right="door" top="solid" />
14 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
15 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
18 <Cell x={0} y={0} left="door" right="door" top="solid" />
19 <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
21 <Room type="save" x={6} y={0}>
22 <Cell bottom="solid" left="door" right="solid" top="solid" />
25 <Cell x={0} y={0} bottom="door" left="solid" top="solid" />
26 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
28 <Room type="transition left" x={0} y={2}>
29 <Cell bottom="solid" left="door" right="door" top="solid" />
32 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
33 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
36 <Cell bottom="solid" left="door" right="door" top="door" />
39 <Cell x={0} y={0} left="door" right="solid" top="solid" />
40 <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
43 <Cell x={0} y={0} left="solid" right="door" top="solid" />
44 <Cell x={0} y={1} bottom="door" left="solid" right="solid" />
47 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
48 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
50 <Room type="transition right" x={8} y={2}>
51 <Cell bottom="solid" left="door" right="door" top="solid" />
54 <Cell x={0} y={0} left="solid" right="door" top="solid" />
55 <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
58 <Cell x={0} y={0} left="door" right="solid" top="solid" />
59 <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
62 <Cell x={0} y={0} left="solid" right="solid" top="door" />
63 <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
66 <Cell x={0} y={0} left="solid" right="door" top="solid" />
67 <Cell x={0} y={1} bottom="solid" left="door" right="door" />
70 <Cell bottom="solid" left="door" right="door" top="solid" />
73 <Cell x={0} y={0} left="door" right="solid" top="solid" />
74 <Cell x={0} y={1} bottom="solid" left="door" right="door" />
76 <Room type="secret" x={1} y={6}>
77 <Cell bottom="solid" left="solid" right="door" top="solid" />
80 <Cell bottom="solid" left="door" right="door" top="solid" />
83 <Cell bottom="door" left="door" right="door" top="solid" />
86 <Cell bottom="solid" left="door" right="door" top="solid" />
88 <Room type="save" x={7} y={6}>
89 <Cell bottom="solid" left="door" right="solid" top="solid" />
92 <Cell bottom="solid" left="solid" right="door" top="solid" />
95 <Cell x={0} y={0} left="door" right="door" top="solid" />
96 <Cell x={0} y={1} bottom="solid" left="door" right="door" />
99 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
100 <Cell x={1} y={0} bottom="solid" top="door" />
101 <Cell x={2} y={0} bottom="solid" right="door" top="solid" />
104 <Cell x={0} y={0} left="door" right="door" top="solid" />
105 <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
108 <Cell bottom="solid" left="door" right="solid" top="solid" />
111 <Cell x={0} y={0} left="solid" right="door" top="solid" />
112 <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
115 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
116 <Cell x={1} y={0} bottom="solid" top="solid" />
117 <Cell x={2} y={0} bottom="solid" right="solid" top="solid" />
120 <Cell x={0} y={0} left="door" right="solid" top="solid" />
121 <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
124 <Cell x={0} y={0} left="door" right="solid" top="solid" />
125 <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
128 <Cell x={0} y={0} left="solid" right="door" top="solid" />
129 <Cell x={0} y={1} bottom="solid" left="door" right="door" />
132 <Cell bottom="solid" left="solid" right="door" top="solid" />
134 <Room type="transition left" x={4} y={10}>
135 <Cell bottom="solid" left="door" right="door" top="solid" />
138 <Cell bottom="solid" left="door" right="door" top="solid" />
140 <Room type="teleporter" x={7} y={10}>
141 <Cell bottom="solid" left="door" right="solid" top="solid" />
145 ClockTower.propTypes = {
150 export default ClockTower;