-
Notifications
You must be signed in to change notification settings - Fork 3
/
tilemap.g.ts
188 lines (185 loc) · 13 KB
/
tilemap.g.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
// Auto-generated code. Do not edit.
namespace myTiles {
//% fixedInstance jres blockIdentity=images._tile
export const transparency16 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const transparency8 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile1 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile2 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile3 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile4 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile5 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile6 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile7 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile8 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile9 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile10 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile11 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile12 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile13 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile14 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile15 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile16 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile17 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile18 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile19 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile20 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile21 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile22 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile23 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile24 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile25 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile27 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile26 = image.ofBuffer(hex``);
//% fixedInstance jres blockIdentity=images._tile
export const tile28 = image.ofBuffer(hex``);
helpers._registerFactory("tilemap", function(name: string) {
switch(helpers.stringTrim(name)) {
case "tilemap":
case "level1":return tiles.createTilemap(hex`3200320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`, img`
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
`, [myTiles.transparency8,myTiles.tile26,myTiles.tile28], TileScale.Eight);
}
return null;
})
helpers._registerFactory("tile", function(name: string) {
switch(helpers.stringTrim(name)) {
case "transparency16":return transparency16;
case "transparency8":return transparency8;
case "white":
case "tile1":return tile1;
case "red":
case "tile2":return tile2;
case "pink":
case "tile3":return tile3;
case "orange":
case "tile4":return tile4;
case "yellow":
case "tile5":return tile5;
case "teal":
case "tile6":return tile6;
case "green":
case "tile7":return tile7;
case "dark_blue":
case "tile8":return tile8;
case "light_blue":
case "tile9":return tile9;
case "purple":
case "tile10":return tile10;
case "light_purple":
case "tile11":return tile11;
case "dark_purple":
case "tile12":return tile12;
case "brown":
case "tile13":return tile13;
case "white_body":
case "tile14":return tile14;
case "red_body":
case "tile15":return tile15;
case "pink_body":
case "tile16":return tile16;
case "orange_body":
case "tile17":return tile17;
case "yellow_body":
case "tile18":return tile18;
case "teal_body":
case "tile19":return tile19;
case "green_body":
case "tile20":return tile20;
case "dark_blue_body":
case "tile21":return tile21;
case "light_blue_body":
case "tile22":return tile22;
case "purple_body":
case "tile23":return tile23;
case "light_purple_body":
case "tile24":return tile24;
case "dark_purple_body":
case "tile25":return tile25;
case "brown_body":
case "tile27":return tile27;
case "wall":
case "tile26":return tile26;
case "temp":
case "tile28":return tile28;
}
return null;
})
}
// Auto-generated code. Do not edit.