Add ContextPropertySetter to set a data property value directly from the UI

Issue #20 resolved
Christian Oeing repo owner created an issue

Right now it always requires a Command to change a context from the UI. This is okay as in a real application the UI actions are passed to the game logic and the logic then changes the context(s) if the action was valid. But for testing or prototyping it may be helpful to have such a direct way to change a context.

Comments (4)

  1. Christian Oeing reporter

    There is a ContextDataUpdater now which keeps a context data node up-to-date with a specified DataProvider. This may be a class to consider.

    It might still be a command which takes a path to the data that should be set and is invoked with the data to set as an argument (or the data provider is set as well).

  2. Christian Oeing reporter

    There are Synchronizers now which are an easy way to synchronize the value of a UI control and a context data node

  3. Log in to comment