From c1e124b957fa840f7bd8da9ffc6871140cfabf16 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Tue, 9 Apr 2024 21:51:27 -0600 Subject: Finished Vaporize.MessageSend --- st/TypeInstance.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'st/TypeInstance.java') diff --git a/st/TypeInstance.java b/st/TypeInstance.java index 302f9f0..596f638 100644 --- a/st/TypeInstance.java +++ b/st/TypeInstance.java @@ -2,10 +2,20 @@ package st; public class TypeInstance extends AbstractInstance { + ClassInstance cls; + public TypeInstance(String name, TypeEnum type) { super(name, type); } + public void addClassInstance(ClassInstance cls) { + this.cls = cls; + } + + public ClassInstance getClassInstance() { + return this.cls; + } + public boolean sameType(TypeInstance other) { /** * Given a TypeInstance object other, -- cgit v1.2.3