Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: scripted classes idea #2915

Open
7oltan opened this issue Jun 25, 2024 · 0 comments
Open

Enhancement: scripted classes idea #2915

7oltan opened this issue Jun 25, 2024 · 0 comments

Comments

@7oltan
Copy link
Contributor

7oltan commented Jun 25, 2024

Please check for duplicates or similar issues before creating this issue.

What is your suggestion, and why should it be implemented?

make some type of ScriptedScripted class that makes you be able to make your own soft coded ScriptedClassName classes in hxc
so you can extend new classes

for example

class ScriptedTitleState extends TitleState implents ScriptedClass {}

class myCustomTitleState extends TitleState{}

var customTitleState = ScriptedTitleState.init('myCustomTitleState');

i cant think of a way to make this but just posting it here so someone could think of a way for me and i can take the credit :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant