aboutsummaryrefslogtreecommitdiff
path: root/static/src/vector.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth@simponic.xyz>2024-09-02 21:05:43 -0700
committerElizabeth Hunt <elizabeth@simponic.xyz>2024-09-02 21:05:43 -0700
commit9f5e81327be33489d9bb912de503cd01d6ba7dca (patch)
tree913d1d3ca9acd4d13e8f952d2c812c63868cc574 /static/src/vector.ts
parentd35ab6cc851d3fc85f55cfb5676f8dc3552fab24 (diff)
downloadkennel.hatecomputers.club-9f5e81327be33489d9bb912de503cd01d6ba7dca.tar.gz
kennel.hatecomputers.club-9f5e81327be33489d9bb912de503cd01d6ba7dca.zip
get it compiling
Diffstat (limited to 'static/src/vector.ts')
-rw-r--r--static/src/vector.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/src/vector.ts b/static/src/vector.ts
index 96bd721..29e62df 100644
--- a/static/src/vector.ts
+++ b/static/src/vector.ts
@@ -1,7 +1,7 @@
export class Vec2 {
constructor(
- private readonly x: number,
- private readonly y: number,
+ public readonly x: number,
+ public readonly y: number,
) {}
public distance_to(that: Vec2): number {