-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Grzegorz Tańczyk
committed
May 12, 2024
1 parent
f8f6565
commit 7cf0003
Showing
3 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** How fast are the missiles */ | ||
export const MISSILE_SPEED = 10; | ||
|
||
/** What is the radius of explosions */ | ||
export const EXPLOSION_RADIUS = 20; | ||
|
||
/** How fast is the explosion */ | ||
export const EXPLOSION_SPEED = 5; | ||
|
||
/** How long does the explosion take */ | ||
export const EXPLOSION_DURATION = EXPLOSION_RADIUS / EXPLOSION_SPEED; |