From ce06fa7c29ba4e3d6137f7aa74fbfe45af0e8b73 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 5 Mar 2024 22:00:04 -0700 Subject: refactor spawners --- src/engine/components/LambdaTerm.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/engine/components/LambdaTerm.ts (limited to 'src/engine/components/LambdaTerm.ts') diff --git a/src/engine/components/LambdaTerm.ts b/src/engine/components/LambdaTerm.ts new file mode 100644 index 0000000..63e9889 --- /dev/null +++ b/src/engine/components/LambdaTerm.ts @@ -0,0 +1,11 @@ +import { Component, ComponentNames } from "."; + +export class LambdaTerm extends Component { + public code: string; + + constructor(code: string) { + super(ComponentNames.LambdaTerm); + + this.code = code; + } +} -- cgit v1.2.3-70-g09d2