Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neki-dev committed Nov 2, 2023
1 parent e70a426 commit 95212ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/game/scenes/world/entities/shot/ball/variants/frozen.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { IWorld } from '~type/world';
import { ShotBallAudio, ShotParams } from '~type/world/entities/shot';
import { ShotBallAudio, ShotData, ShotParams } from '~type/world/entities/shot';

import { ShotBall } from '../ball';

export class ShotBallFrozen extends ShotBall {
constructor(scene: IWorld, params: ShotParams) {
constructor(scene: IWorld, params: ShotParams, data: ShotData = {}) {
super(scene, params, {
...data,
audio: ShotBallAudio.FROZEN,
color: 0x00a1ff,
glow: true,
Expand Down

0 comments on commit 95212ab

Please sign in to comment.