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