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 Arena = ({ x, y }) =>
9 <Region name="arena" x={x} y={y}>
11 <Cell x={0} y={0} left="solid" top="solid" />
12 <Cell x={1} y={0} right="door" top="solid" />
13 <Cell x={0} y={1} left="solid" />
14 <Cell x={1} y={1} right="door" />
15 <Cell x={0} y={2} bottom="door" left="solid" />
16 <Cell x={1} y={2} bottom="solid" right="door" />
19 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
20 <Cell x={1} y={0} bottom="solid" top="solid" />
21 <Cell x={2} y={0} bottom="solid" top="solid" />
22 <Cell x={3} y={0} bottom="solid" right="solid" top="solid" />
25 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
26 <Cell x={1} y={0} bottom="solid" top="solid" />
27 <Cell x={2} y={0} bottom="solid" top="solid" />
28 <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
31 <Cell bottom="solid" left="door" right="solid" top="solid" />
34 <Cell x={0} y={0} left="solid" right="door" top="solid" />
35 <Cell x={0} y={1} left="door" right="solid" />
36 <Cell x={0} y={2} bottom="door" left="solid" right="solid" />
39 <Cell bottom="solid" left="door" right="solid" top="solid" />
42 <Cell x={0} y={0} bottom="door" left="solid" top="door" />
43 <Cell x={1} y={0} bottom="solid" top="solid" />
44 <Cell x={2} y={0} bottom="solid" right="door" top="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" />
51 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
52 <Cell x={1} y={0} bottom="solid" top="door" />
53 <Cell x={2} y={0} bottom="door" right="door" top="solid" />
55 <Room type="teleporter" x={10} y={3}>
56 <Cell x={0} y={0} bottom="solid" left="door" right="solid" top="solid" />
58 <Room type="save" x={1} y={4}>
59 <Cell x={0} y={0} bottom="solid" left="solid" right="door" top="solid" />
62 <Cell bottom="solid" left="door" right="door" top="door" />
65 <Cell x={0} y={0} left="door" right="door" top="solid" />
66 <Cell x={0} y={1} left="solid" right="door" />
67 <Cell x={0} y={2} bottom="solid" left="door" right="door" />
70 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
71 <Cell x={1} y={0} bottom="solid" top="solid" />
72 <Cell x={2} y={0} bottom="solid" top="solid" />
73 <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
76 <Cell bottom="solid" left="door" right="solid" top="solid" />
79 <Cell x={0} y={0} left="solid" top="door" />
80 <Cell x={1} y={0} right="solid" top="solid" />
81 <Cell x={0} y={1} left="solid" />
82 <Cell x={1} y={1} right="solid" />
83 <Cell x={0} y={2} bottom="solid" left="solid" />
84 <Cell x={1} y={2} bottom="solid" right="door" />
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="solid" right="door" top="solid" />
93 <Cell bottom="solid" left="door" right="solid" top="solid" />
96 <Cell bottom="solid" left="solid" right="door" top="solid" />
99 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
100 <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
103 <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
104 <Cell x={1} y={0} bottom="solid" top="solid" />
105 <Cell x={2} y={0} bottom="solid" top="solid" />
106 <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
109 <Cell bottom="solid" left="door" right="solid" top="solid" />
112 <Cell bottom="solid" left="door" right="door" top="solid" />
114 <Room type="transition right" x={12} y={6}>
115 <Cell bottom="solid" left="door" right="door" top="solid" />
124 export default Arena;