mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 04:26:14 -04:00
Sturdy bricks now have a proper hit counter
This commit is contained in:
parent
6899b5cf36
commit
3745b527f5
6 changed files with 64 additions and 32 deletions
2
src/types.d.ts
vendored
2
src/types.d.ts
vendored
|
@ -226,6 +226,8 @@ export type GameState = {
|
|||
ballsColor: colorString;
|
||||
// Array of bricks to display. 'black' means bomb. '' means no brick.
|
||||
bricks: colorString[];
|
||||
// Number of times a brick has been hit already
|
||||
brickHP: number[];
|
||||
|
||||
particles: ReusableArray<ParticleFlash>;
|
||||
texts: ReusableArray<TextFlash>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue