diff --git a/src/shared/constants/weapons.ts b/src/shared/constants/weapons.ts index d4b8a1d..e26e204 100644 --- a/src/shared/constants/weapons.ts +++ b/src/shared/constants/weapons.ts @@ -8,3 +8,4 @@ export const PISTOL = 'Pistol'; export const RESIZER = 'Resizer'; export const SHOTGUN = 'Shotgun'; export const BALL = 'Ball'; +export const DUPA = 'Dupa'; diff --git a/src/shared/helpers.ts b/src/shared/helpers.ts index 784f7d5..9209e8a 100644 --- a/src/shared/helpers.ts +++ b/src/shared/helpers.ts @@ -33,11 +33,15 @@ export function randColor(): string { return `rgb(${randRGB()},${randRGB()},${randRGB()})`; } +export function forGregory(): string { + return 'Hello'; +} + export function times( - count: number, + counter: number, callback: (value: number, index?: number, array?: Array) => void, ) { - Array.from(Array(count).keys()).forEach(callback); + Array.from(Array(counter).keys()).forEach(callback); } export function createArrayFilledValue(length: number, value: T): Array {