atas76 / openengine

Football match engine
MIT License
61 stars 5 forks source link

Simplify DynamicTransition objects creation #28

Open atas76 opened 7 months ago

atas76 commented 7 months ago

There are quite a few fields in a DynamicTransition, especially in the constructor. Maybe we need some defaults (with null value), for those fields whose value is going to be calculated dynamically. One other design decision is whether to create a copy constructor from the Statement object in order to avoid having numerous parameters in the constructor.