Skip to content

Commit

Permalink
add type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
allmtz committed Feb 18, 2024
1 parent 6ab03f1 commit 4dc8f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/abilities/Cyber-Wolf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4dc8f8c

Please sign in to comment.