S5-VR-Game / game

2 stars 0 forks source link

Adds player profile service reference to abstract game task #72

Closed JonasPTFL closed 11 months ago

JonasPTFL commented 11 months ago

The new reference simplifies the access to PlayerProfileService instance in task implementation. Furthermore, creating new factories is easier, because the dependencies for the observers are automatically assigned via GameTimer. By using a FactoryInitializationData class, the referenced data is exandable and can be changed in future more easily compared to the old structure with serialized fields in abstract game task.