From cb119ab495bee6a3336ce039ad2ae2ce687cf82b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gruca?= Date: Fri, 8 May 2020 17:06:09 +0200 Subject: [PATCH] test commit --- src/shared/constants/weapons.ts | 1 + src/shared/helpers.ts | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 {