Commit Graph

10 Commits

Author SHA1 Message Date
Daan Vanden Bosch
994afa7387 Refactored HTML element creation code. Removed PropertyChangeEvent, properties don't emit their old value anymore. Added an EventsController and moved some code from EventsView and QuestEditorStore to it. 2019-12-27 00:55:32 +01:00
Daan Vanden Bosch
8ce19fac62 Most dependencies are now injected to improve testability. 2019-12-21 19:40:42 +01:00
Daan Vanden Bosch
20885cb0f2 Simplified Widget.finalize_construction. Added game state to QuestRunner and modified execution flow to enable loading of area/entity models. Split QuestModelManager into two different classes so a different loading strategy can used in the quest runner view. Quest runner view is now automatically created when running a quest. 2019-12-19 18:54:01 +01:00
Daan Vanden Bosch
87c6ae37e4 Widget's element property is now abstract and is overridden in every concrete subclass. This often simplifies widget code. 2019-09-15 19:32:34 +02:00
Daan Vanden Bosch
3a95e8a974 Added server select. Widget construction now happens in two phases with a finalize_construction method being called from the lowest subclass. 2019-09-14 15:15:59 +02:00
Daan Vanden Bosch
5446f77202 Refactored widgets to make it possible to centralize processing of constructor-provided options. Made widget event/data flow unidirectional. 2019-08-28 21:36:45 +02:00
Daan Vanden Bosch
f100220176 Refactored widget properties to simplify the interface. 2019-08-28 00:50:38 +02:00
Daan Vanden Bosch
17400200a0 Ported quest info view to the new GUI system. 2019-08-23 17:00:39 +02:00
Daan Vanden Bosch
8e13441f26 Improved observables and ported more of the quest editor to the new GUI system. 2019-08-22 22:45:01 +02:00
Daan Vanden Bosch
72506461ab Swapped code using new and old UI system around. 2019-08-21 17:56:46 +02:00