From 8817ed865c027a56cf20893016b7b7aae7d8d78c Mon Sep 17 00:00:00 2001 From: Kevin Caccamo Date: Wed, 23 Jun 2021 04:23:53 -0400 Subject: [PATCH] Add details on how to call static Object methods --- wadsrc/static/zscript/engine/base.zs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wadsrc/static/zscript/engine/base.zs b/wadsrc/static/zscript/engine/base.zs index 2e03224ac1..7347300f64 100644 --- a/wadsrc/static/zscript/engine/base.zs +++ b/wadsrc/static/zscript/engine/base.zs @@ -673,6 +673,8 @@ class Object native virtual virtualscope void OnDestroy() {} // // + // The static methods below cannot be called using Object.method(); For example, you don't call + // abs(x) using Object.abs(x); Just use abs(x); // clearscope bool IsAbstract(); // Intrinsic - Query whether or not the class is abstract // clearscope Object GetParentClass(); // Intrinsic - Get the parent class of this object // clearscope Name GetClassName(); // Intrinsic - Get the name of this object's class