From 4dc8f8c7d326e47495399972b721bd56ea39f971 Mon Sep 17 00:00:00 2001 From: Allan Martinez Date: Sat, 17 Feb 2024 18:41:41 -0800 Subject: [PATCH] add type annotations --- src/abilities/Cyber-Wolf.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/abilities/Cyber-Wolf.ts b/src/abilities/Cyber-Wolf.ts index fb9f6a333..dbb2fbd67 100755 --- a/src/abilities/Cyber-Wolf.ts +++ b/src/abilities/Cyber-Wolf.ts @@ -234,7 +234,7 @@ export default (G: Game) => { const straitrow = matrices.straitrow; const bellowrow = matrices.bellowrow; - let rows; + let rows: Hex[][]; // Check to first hex to determine which direction was chosen if (choice[0].x >= this.creature.x) { // Front @@ -346,7 +346,7 @@ export default (G: Game) => { }, // activate() : - activate: function (crea) { + activate: function (crea: Creature) { const ability = this; ability.end(); G.Phaser.camera.shake(0.03, 333, true, G.Phaser.camera.SHAKE_VERTICAL, true);