1
0
Fork 0
Browse Source

feat: declare FPS as constant

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
combat-scorched-earth-from-outer-space
André Jaenisch 1 year ago
parent
commit
ba978bc381
Signed by: ryuno-ki
GPG Key ID: 5A668E771F1ED854
  1. 1
      src/js/constants.js
  2. 1
      types/constants.d.ts

1
src/js/constants.js

@ -1,3 +1,4 @@
import { Vec2 } from './vector.js'
export const FPS = 60
export const gravity = Vec2(0, 100)

1
types/constants.d.ts vendored

@ -1 +1,2 @@
export const FPS: 60;
export const gravity: import("./vector.js").Vector2D;

Loading…
Cancel
Save