ghjansen / cas

Cellular Automata Simulator
GNU Affero General Public License v3.0
30 stars 3 forks source link

Find a way to compare the Time from Universe with the Time from Space #70

Open ghjansen opened 3 years ago

ghjansen commented 3 years ago

Time is used in the constructors of both Space and Universe. Space uses Time in its constructor to validate the amount of dimensions across them, but don't keep Time as attribute. Universe, however, only keeps Time as attribute. The instance of Time informed in the constructors of both Space and Universe must be the exact same, therefore, a validation must take place to match them somehow.