-
Notifications
You must be signed in to change notification settings - Fork 0
create
NikkoTC edited this page Sep 4, 2023
·
8 revisions
This function creates an instance of class and returns it.
When instance created, it will execute method named _constructor.
create(classID, args...);| Argument | Description |
|---|---|
| classID | The unique class ID |
| args... | Constructor arguments |
The class instance struct.
inst = create(MyClass);The above code will create an instance of class MyClass and assign it to inst variable.