]> git.localhorst.tv Git - alttp.git/blob - resources/js/components/aos-tracker/UndergroundCemetery.js
add basic map
[alttp.git] / resources / js / components / aos-tracker / UndergroundCemetery.js
1 import PropTypes from 'prop-types';
2 import React from 'react';
3
4 import Cell from './Cell';
5 import Region from './Region';
6 import Room from './Room';
7
8 const UndergroundCemetery = ({ x, y }) =>
9         <Region name="underground-cemetery" x={x} y={y}>
10                 <Room x={2} y={0}>
11                         <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
12                         <Cell x={1} y={0} bottom="solid" top="solid" />
13                         <Cell x={2} y={0} bottom="solid" top="solid" />
14                         <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
15                 </Room>
16                 <Room x={6} y={0}>
17                         <Cell x={0} y={0} left="door" right="door" top="solid" />
18                         <Cell x={0} y={1} bottom="solid" left="door" right="door" />
19                 </Room>
20                 <Room type="save" x={7} y={0}>
21                         <Cell bottom="solid" left="door" right="solid" top="solid" />
22                 </Room>
23                 <Room x={8} y={0}>
24                         <Cell x={0} y={0} left="solid" top="solid" />
25                         <Cell x={1} y={0} right="solid" top="solid" />
26                         <Cell x={0} y={1} left="door" bottom="solid" />
27                         <Cell x={1} y={1} bottom="solid" right="door" />
28                 </Room>
29                 <Room x={10} y={0}>
30                         <Cell bottom="solid" left="solid" right="door" top="solid" />
31                 </Room>
32                 <Room x={11} y={0}>
33                         <Cell x={0} y={0} left="door" right="door" top="solid" />
34                         <Cell x={0} y={1} bottom="solid" left="door" right="door" />
35                 </Room>
36                 <Room x={12} y={0}>
37                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
38                         <Cell x={1} y={0} bottom="solid" top="solid" />
39                         <Cell x={2} y={0} bottom="solid" top="solid" />
40                         <Cell x={3} y={0} bottom="solid" right="solid" top="solid" />
41                 </Room>
42                 <Room type="transition left" x={0} y={1}>
43                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
44                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
45                 </Room>
46                 <Room x={2} y={1}>
47                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
48                         <Cell x={1} y={0} bottom="solid" top="solid" />
49                         <Cell x={2} y={0} bottom="solid" top="solid" />
50                         <Cell x={3} y={0} bottom="solid" right="door" top="solid" />
51                 </Room>
52                 <Room x={7} y={1}>
53                         <Cell bottom="solid" left="door" right="door" top="solid" />
54                 </Room>
55                 <Room x={10} y={1}>
56                         <Cell bottom="solid" left="door" right="door" top="solid" />
57                 </Room>
58                 <Room x={12} y={1}>
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" right="door" top="solid" />
63                 </Room>
64                 <Room x={16} y={1}>
65                         <Cell bottom="solid" left="door" right="solid" top="solid" />
66                 </Room>
67         </Region>;
68
69 UndergroundCemetery.propTypes = {
70         x: PropTypes.number,
71         y: PropTypes.number,
72 };
73
74 export default UndergroundCemetery;