From 72c6c7de12e9833f52bf2d0718d70f044f8ab57e Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 20 Jul 2023 20:47:32 -0700 Subject: a bit of refactoring; importing engine into bun for server --- engine/components/names.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 engine/components/names.ts (limited to 'engine/components/names.ts') diff --git a/engine/components/names.ts b/engine/components/names.ts new file mode 100644 index 0000000..e2ee3d3 --- /dev/null +++ b/engine/components/names.ts @@ -0,0 +1,15 @@ +export namespace ComponentNames { + export const Sprite = "Sprite"; + export const BoundingBox = "BoundingBox"; + export const Velocity = "Velocity"; + export const FacingDirection = "FacingDirection"; + export const Control = "Control"; + export const Jump = "Jump"; + export const TopCollidable = "TopCollidable"; + export const Collide = "Collide"; + export const WallBounded = "WallBounded"; + export const Gravity = "Gravity"; + export const Forces = "Forces"; + export const Mass = "Mass"; + export const Moment = "Moment"; +} -- cgit v1.2.3-70-g09d2