PedrelliLuca / ScalarField

A TopDown RPG Game, where magic works by interacting with the environment.
4 stars 0 forks source link

Create a Thermodynamics module #10

Closed PedrelliLuca closed 2 years ago

PedrelliLuca commented 2 years ago

How?

Move the UThermodynamicComponent and AThermodynamicActor inside this new module. Then, create a class AThermodynamicCharacter that AScalarFieldCharacter can inherit from, and place the former in the new module. This will make thermodynamics-related stuff independent from the actual game, i.e. the ScalarField module.

You also have to decide whether AThermodynamicLevelScript should be moved to Thermodynamics or not. If you decide to move it, then Thermodynamics will become dependent on the EnvironmentGrid module.

PedrelliLuca commented 2 years ago

The module has been created with #13. At the moment, it just contains the UThermodynamicComponent. Since the other thermodynamic classes are more gameplay-related, I'll leave them in the ScalarField module for the time being. This issue will be considered closed.