πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2022-06-11. It may be informal or outdated β€” anyone can edit this page to improve it. Original discussion

Structuring SF components as classes

πŸŒ™ LuaUpdated 2 days agoβ€’0 views
Create a folder for components; for each component make (or derive) a class with the methods you want, and return the created class at the end of the script for…

How to organize Starfall components

Create a folder for components; for each component make (or derive) a class with the methods you want, and return the created class at the end of the script for require().

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.