Skip to content

Discussion - should InteractiveGue and BindableGue be migrated down to GraphicalUiElement? #1876

@vchelaru

Description

@vchelaru

This would potentially simplify the syntax when working with Gum. It has the following benefits:

  1. It would bring FRB and the rest of Gum one step closer to each other
  2. It would remove 2 classes which are probably already confusing to all users
  3. It would allow all controls to have events and binding. As is, some do not because they don't inherit from InteractiveGue

Problems to consider:

  1. This would require #if FRB blocks all over to handle binding/clicks since FRB does it differently
  2. It would require some marking of obsolete on the derived classes
  3. It would require codegen to update to use GraphicalUiElement everywhere, but only after a certain version came out. There would be some codegen syntax breaks so the obsolete period would have to last quite a while
  4. Requires some documentation rewriting

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions