-
Notifications
You must be signed in to change notification settings - Fork 0
/
avatars.js
33 lines (32 loc) · 941 Bytes
/
avatars.js
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
const ninjaCollection = document.querySelectorAll(".ninja");
const gruceCollection = document.querySelectorAll(".gruce");
const gasCollection = document.querySelectorAll(".gas");
const ndranCollection = document.querySelectorAll(".ndran");
export const ninja = {
up: ninjaCollection[0],
down: ninjaCollection[1],
left: ninjaCollection[2],
right: ninjaCollection[3],
pattern: ninjaCollection[4],
};
export const gruce = {
up: gruceCollection[0],
down: gruceCollection[1],
left: gruceCollection[2],
right: gruceCollection[3],
pattern: gruceCollection[4],
};
export const gas = {
up: gasCollection[0],
down: gasCollection[1],
left: gasCollection[2],
right: gasCollection[3],
pattern: gasCollection[4],
};
export const ndran = {
up: ndranCollection[0],
down: ndranCollection[1],
left: ndranCollection[2],
right: ndranCollection[3],
pattern: ndranCollection[4],
};