]> git.localhorst.tv Git - alttp.git/blob - resources/js/components/aos-tracker/DanceHall.js
add basic map
[alttp.git] / resources / js / components / aos-tracker / DanceHall.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 DanceHall = ({ x, y }) =>
9         <Region name="dance-hall" x={x} y={y}>
10                 <Room x={3} y={0}>
11                         <Cell x={0} y={0} left="solid" top="solid" />
12                         <Cell x={1} y={0} right="solid" top="solid" />
13                         <Cell x={0} y={1} bottom="solid" left="door" />
14                         <Cell x={1} y={1} bottom="door" right="door" />
15                 </Room>
16                 <Room x={2} y={1}>
17                         <Cell bottom="solid" left="solid" right="door" top="solid" />
18                 </Room>
19                 <Room x={5} y={1}>
20                         <Cell bottom="solid" left="door" right="solid" top="solid" />
21                 </Room>
22                 <Room x={2} y={2}>
23                         <Cell x={0} y={0} bottom="door" left="solid" top="solid" />
24                         <Cell x={1} y={0} bottom="solid" top="solid" />
25                         <Cell x={2} y={0} bottom="solid" top="door" />
26                         <Cell x={3} y={0} bottom="solid" right="solid" top="solid" />
27                 </Room>
28                 <Room type="secret" x={1} y={3}>
29                         <Cell bottom="solid" left="solid" right="door" top="solid" />
30                 </Room>
31                 <Room x={2} y={3}>
32                         <Cell bottom="solid" left="door" right="door" top="door" />
33                 </Room>
34                 <Room x={3} y={3}>
35                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
36                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
37                 </Room>
38                 <Room x={5} y={3}>
39                         <Cell bottom="door" left="door" right="door" top="solid" />
40                 </Room>
41                 <Room type="save" x={6} y={3}>
42                         <Cell bottom="solid" left="door" right="solid" top="solid" />
43                 </Room>
44                 <Room type="secret" x={9} y={3}>
45                         <Cell x={0} y={0} bottom="solid" left="solid" top="solid" />
46                         <Cell x={1} y={0} bottom="door" right="solid" top="solid" />
47                 </Room>
48                 <Room x={0} y={4}>
49                         <Cell x={0} y={0} left="solid" right="door" top="solid" />
50                         <Cell x={0} y={1} bottom="door" left="solid" right="door" />
51                 </Room>
52                 <Room x={1} y={4}>
53                         <Cell bottom="solid" left="door" right="door" top="solid" />
54                 </Room>
55                 <Room type="teleporter" x={1} y={5}>
56                         <Cell bottom="solid" left="door" right="solid" top="solid" />
57                 </Room>
58                 <Room x={2} y={4}>
59                         <Cell x={0} y={0} left="door" right="door" top="solid" />
60                         <Cell x={0} y={1} bottom="solid" left="solid" right="door" />
61                 </Room>
62                 <Room x={3} y={4}>
63                         <Cell x={0} y={0} left="door" top="solid" />
64                         <Cell x={1} y={0} right="door" top="solid" />
65                         <Cell x={0} y={1} bottom="door" left="door" />
66                         <Cell x={1} y={1} bottom="solid" right="door" />
67                 </Room>
68                 <Room x={5} y={4}>
69                         <Cell x={0} y={0} left="door" right="door" top="door" />
70                         <Cell x={0} y={1} bottom="solid" left="door" right="door" />
71                 </Room>
72                 <Room x={6} y={4}>
73                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
74                         <Cell x={1} y={0} bottom="solid" top="solid" />
75                         <Cell x={2} y={0} bottom="solid" top="solid" />
76                         <Cell x={3} y={0} bottom="solid" top="solid" />
77                         <Cell x={4} y={0} bottom="solid" right="door" top="door" />
78                 </Room>
79                 <Room type="transition right" x={11} y={4}>
80                         <Cell bottom="solid" left="door" right="door" top="solid" />
81                 </Room>
82                 <Room x={6} y={5}>
83                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
84                         <Cell x={1} y={0} bottom="solid" top="solid" />
85                         <Cell x={2} y={0} bottom="solid" right="door" top="solid" />
86                 </Room>
87                 <Room type="transition right" x={9} y={5}>
88                         <Cell bottom="solid" left="door" right="door" top="solid" />
89                 </Room>
90                 <Room x={3} y={6}>
91                         <Cell x={0} y={0} left="solid" right="door" top="door" />
92                         <Cell x={0} y={1} bottom="door" left="solid" right="solid" />
93                 </Room>
94                 <Room x={4} y={6}>
95                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
96                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
97                 </Room>
98                 <Room x={6} y={6}>
99                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
100                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
101                 </Room>
102                 <Room x={4} y={7}>
103                         <Cell x={0} y={0} bottom="solid" left="solid" 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" />
107                 </Room>
108                 <Room x={8} y={6}>
109                         <Cell x={0} y={0} left="door" right="solid" top="solid" />
110                         <Cell x={0} y={1} bottom="solid" left="door" right="solid" />
111                 </Room>
112                 <Room x={3} y={8}>
113                         <Cell bottom="solid" left="solid" right="door" top="door" />
114                 </Room>
115                 <Room x={3} y={9}>
116                         <Cell bottom="solid" left="solid" right="door" top="solid" />
117                 </Room>
118                 <Room x={4} y={8}>
119                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
120                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
121                 </Room>
122                 <Room x={4} y={9}>
123                         <Cell x={0} y={0} bottom="solid" left="door" top="solid" />
124                         <Cell x={1} y={0} bottom="solid" right="door" top="solid" />
125                 </Room>
126                 <Room x={6} y={8}>
127                         <Cell x={0} y={0} left="door" right="solid" top="solid" />
128                         <Cell x={0} y={1} bottom="solid" left="door" right="door" />
129                 </Room>
130                 <Room type="save" x={7} y={9}>
131                         <Cell bottom="solid" left="door" right="solid" top="solid" />
132                 </Room>
133         </Region>;
134
135 DanceHall.propTypes = {
136         x: PropTypes.number,
137         y: PropTypes.number,
138 };
139
140 export default DanceHall;