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 ForbiddenArea = ({ x, y }) =>
9 <Region name="forbidden-area" x={x} y={y}>
10 <Room type="transition left" x={0} y={2}>
11 <Cell bottom="solid" left="door" right="door" top="solid" />
14 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
15 <Cell x={1} y={0} bottom="solid" top="solid" />
16 <Cell x={2} y={0} bottom="solid" top="solid" />
17 <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
20 <Cell x={0} y={0} left="solid" right="solid" top="door" />
21 <Cell x={0} y={1} left="door" right="door" bottom="solid" />
24 <Cell bottom="door" left="solid" right="door" top="solid" />
26 <Room type="transition right" x={6} y={0}>
27 <Cell bottom="solid" left="door" right="door" top="solid" />
30 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
31 <Cell x={1} y={0} bottom="solid" top="solid" />
32 <Cell x={2} y={0} bottom="solid" top="solid" />
33 <Cell x={3} y={0} bottom="solid" top="solid" />
34 <Cell x={4} y={0} bottom="door" right="solid" top="solid" />
37 <Cell x={0} y={0} left="solid" top="door" />
38 <Cell x={1} y={0} top="solid" />
39 <Cell x={2} y={0} right="solid" top="solid" />
40 <Cell x={0} y={1} bottom="solid" left="door" />
41 <Cell x={1} y={1} bottom="solid" />
42 <Cell x={2} y={1} bottom="solid" right="door" />
44 <Room type="secret" x={9} y={4}>
45 <Cell bottom="solid" left="solid" right="door" top="solid" />
48 <Cell bottom="door" left="door" right="solid" top="solid" />
51 <Cell x={0} y={0} left="solid" right="solid" top="door" />
52 <Cell x={0} y={1} left="door" right="solid" bottom="solid" />
55 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
56 <Cell x={1} y={0} bottom="solid" top="solid" />
57 <Cell x={2} y={0} bottom="solid" top="solid" />
58 <Cell x={3} y={0} bottom="solid" top="solid" />
59 <Cell x={4} y={0} bottom="solid" top="solid" />
60 <Cell x={5} y={0} bottom="solid" top="solid" />
61 <Cell x={6} y={0} bottom="solid" top="solid" />
62 <Cell x={7} y={0} bottom="solid" right="door" top="solid" />
65 <Cell x={0} y={0} left="solid" right="door" top="solid" />
66 <Cell x={0} y={1} left="solid" right="door" bottom="solid" />
69 <Cell bottom="solid" left="door" right="solid" top="solid" />
73 ForbiddenArea.propTypes = {
78 export default ForbiddenArea;