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

Rework UI again #156

Open
PowerfulBacon opened this issue Jan 14, 2023 · 1 comment
Open

Rework UI again #156

PowerfulBacon opened this issue Jan 14, 2023 · 1 comment

Comments

@PowerfulBacon
Copy link
Owner

PowerfulBacon commented Jan 14, 2023

Have a react style UI system.

class ExampleState : State
{

}

class ExampleUserInterface : UserInterface<ExampleState>
{
    override void Render()
    {
        return new UserInterfaceComponent(...);
    }
}

Updating the state will re-call render

@PowerfulBacon
Copy link
Owner Author

The idea is that the current UI represents HTML, but we need to be able to make the UI able to react to contextual information changes better.

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

No branches or pull requests

1 participant