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 Study = ({ x, y }) =>
9 <Region name="study" x={x} y={y}>
10 <Room type="transition left" x={3} y={0}>
11 <Cell bottom="solid" left="door" right="door" top="solid" />
14 <Cell x={0} y={0} left="door" right="door" top="solid" />
15 <Cell x={0} y={1} bottom="door" left="solid" right="solid" />
18 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
19 <Cell x={1} y={0} bottom="door" right="door" top="solid" />
22 <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
23 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
26 <Cell x={0} y={0} left="door" right="door" top="solid" />
27 <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
30 <Cell bottom="solid" left="door" right="solid" top="solid" />
33 <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
34 <Cell x={1} y={0} bottom="door" right="solid" top="solid" />
37 <Cell x={0} y={0} left="door" top="solid" />
38 <Cell x={1} y={0} right="solid" top="door" />
39 <Cell x={0} y={1} bottom="solid" left="door" />
40 <Cell x={1} y={1} bottom="solid" right="solid" />
43 <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
44 <Cell x={1} y={0} bottom="solid" top="door" />
45 <Cell x={2} y={0} bottom="solid" top="solid" />
46 <Cell x={3} y={0} bottom="solid" top="solid" />
47 <Cell x={4} y={0} bottom="solid" right="door" top="solid" />
50 <Cell x={0} y={0} left="door" top="solid" />
51 <Cell x={1} y={0} right="solid" top="solid" />
52 <Cell x={0} y={1} bottom="solid" left="solid" />
53 <Cell x={1} y={1} bottom="solid" right="door" />
55 <Room type="secret" x={0} y={2}>
56 <Cell bottom="solid" left="solid" right="door" top="solid" />
59 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
60 <Cell x={1} y={0} bottom="solid" top="solid" />
61 <Cell x={2} y={0} bottom="solid" top="solid" />
62 <Cell x={3} y={0} bottom="solid" top="solid" />
63 <Cell x={4} y={0} bottom="solid" right="door" top="solid" />
66 <Cell x={0} y={0} left="door" top="door" />
67 <Cell x={1} y={0} right="door" top="solid" />
68 <Cell x={0} y={1} bottom="solid" left="door" />
69 <Cell x={1} y={1} bottom="solid" right="solid" />
71 <Room type="save" x={0} y={4}>
72 <Cell bottom="solid" left="solid" right="door" top="solid" />
74 <Room type="transition left" x={0} y={5}>
75 <Cell bottom="solid" left="door" right="door" top="solid" />
78 <Cell bottom="solid" left="door" right="door" top="solid" />
81 <Cell bottom="solid" left="solid" right="door" top="solid" />
84 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
85 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
88 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
89 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
92 <Cell x={0} y={0} left="door" right="door" top="solid" />
93 <Cell x={0} y={1} bottom="solid" left="door" right="door" />
96 <Cell bottom="solid" left="door" right="solid" top="solid" />
99 <Cell bottom="solid" left="door" right="door" top="solid" />
102 <Cell x={0} y={0} left="solid" top="solid" />
103 <Cell x={1} y={0} right="solid" top="solid" />
104 <Cell x={0} y={1} bottom="solid" left="door" />
105 <Cell x={1} y={1} bottom="solid" right="solid" />
114 export default Study;