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 FloatingGarden = ({ x, y }) =>
9 <Region name="floating-garden" x={x} y={y}>
11 <Cell x={0} y={0} left="door" top="solid" />
12 <Cell x={1} y={0} top="solid" />
13 <Cell x={2} y={0} right="door" top="solid" />
14 <Cell x={0} y={1} bottom="door" left="solid" />
15 <Cell x={1} y={1} bottom="door" />
16 <Cell x={2} y={1} bottom="solid" right="solid" />
19 <Cell x={0} y={0} left="door" top="solid" />
20 <Cell x={1} y={0} top="solid" />
21 <Cell x={2} y={0} right="door" top="solid" />
22 <Cell x={0} y={1} bottom="door" left="door" />
23 <Cell x={1} y={1} bottom="door" />
24 <Cell x={2} y={1} bottom="solid" right="solid" />
27 <Cell x={0} y={0} left="solid" top="door" />
28 <Cell x={1} y={0} top="door" />
29 <Cell x={2} y={0} right="door" top="solid" />
30 <Cell x={0} y={1} bottom="solid" left="door" />
31 <Cell x={1} y={1} bottom="solid" />
32 <Cell x={2} y={1} bottom="solid" right="door" />
35 <Cell x={0} y={0} left="door" top="door" />
36 <Cell x={1} y={0} top="door" />
37 <Cell x={2} y={0} right="solid" top="solid" />
38 <Cell x={0} y={1} bottom="solid" left="door" />
39 <Cell x={1} y={1} bottom="solid" />
40 <Cell x={2} y={1} bottom="solid" right="door" />
42 <Room type="transition left" x={19} y={25}>
43 <Cell bottom="solid" left="door" right="door" top="solid" />
45 <Room type="save" x={26} y={25}>
46 <Cell bottom="solid" left="door" right="solid" top="solid" />
49 <Cell x={0} y={0} left="solid" top="solid" />
50 <Cell x={1} y={0} top="solid" />
51 <Cell x={2} y={0} top="solid" />
52 <Cell x={3} y={0} right="solid" top="solid" />
53 <Cell x={0} y={1} left="solid" />
56 <Cell x={3} y={1} right="solid" />
57 <Cell x={0} y={2} left="door" />
60 <Cell x={3} y={2} right="door" />
61 <Cell x={0} y={3} bottom="solid" left="solid" />
62 <Cell x={1} y={3} bottom="solid" />
63 <Cell x={2} y={3} bottom="solid" />
64 <Cell x={3} y={3} bottom="solid" right="solid" />
67 <Cell x={0} y={0} left="solid" top="solid" />
68 <Cell x={1} y={0} top="solid" />
69 <Cell x={2} y={0} right="solid" top="solid" />
70 <Cell x={0} y={1} left="door" />
72 <Cell x={2} y={1} right="door" />
73 <Cell x={0} y={2} bottom="solid" left="solid" />
74 <Cell x={1} y={2} bottom="solid" />
75 <Cell x={2} y={2} bottom="solid" right="solid" />
78 <Cell x={0} y={0} left="door" top="solid" />
79 <Cell x={1} y={0} top="solid" />
80 <Cell x={2} y={0} right="door" top="solid" />
81 <Cell x={1} y={1} bottom="solid" left="door" />
82 <Cell x={2} y={1} bottom="door" right="solid" />
84 <Room type="save" x={14} y={1}>
85 <Cell bottom="solid" left="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 bottom="solid" left="door" right="solid" top="door" />
95 <Cell bottom="solid" left="solid" right="door" top="solid" />
98 <Cell x={0} y={0} left="solid" top="solid" />
99 <Cell x={1} y={0} top="solid" />
100 <Cell x={2} y={0} right="solid" top="solid" />
101 <Cell x={0} y={1} left="door" />
103 <Cell x={2} y={1} right="door" />
104 <Cell x={0} y={2} bottom="solid" left="solid" />
105 <Cell x={1} y={2} bottom="solid" />
106 <Cell x={2} y={2} bottom="solid" right="solid" />
108 <Room type="transition left" x={37} y={4}>
109 <Cell bottom="solid" left="door" right="door" top="solid" />
112 <Cell x={0} y={0} left="solid" top="solid" />
113 <Cell x={1} y={0} top="solid" />
114 <Cell x={2} y={0} right="solid" top="solid" />
115 <Cell x={0} y={1} left="door" />
117 <Cell x={2} y={1} right="door" />
118 <Cell x={0} y={2} bottom="solid" left="solid" />
119 <Cell x={1} y={2} bottom="solid" />
120 <Cell x={2} y={2} bottom="solid" right="solid" />
123 <Cell x={0} y={0} left="solid" top="solid" />
124 <Cell x={1} y={0} top="solid" />
125 <Cell x={2} y={0} right="solid" top="solid" />
126 <Cell x={0} y={1} left="door" />
128 <Cell x={2} y={1} right="door" />
129 <Cell x={0} y={2} bottom="solid" left="solid" />
130 <Cell x={1} y={2} bottom="solid" />
131 <Cell x={2} y={2} bottom="solid" right="solid" />
135 FloatingGarden.propTypes = {
140 export default FloatingGarden;