c3244b085e
Fix single steps not updating simulation
2018-10-18 11:04:23 +02:00
de1aa46743
Separate Simulation calculating updates and merging
...
Simulation updates were one step of calculation and merging the calculations into the map in one function.
Separating the two allows checking for a new update without affecting the grid, allows passing the last Update around and allows custom changes to the grid by passing changes to the merge function that were not derived from the update function.
2018-10-18 10:58:06 +02:00
e16085153a
Rename Simulation in Engine Object
2018-10-18 09:59:26 +02:00
bac65ef116
Remove unnecessary pattern parameters
2018-10-18 09:57:08 +02:00
08155b70a5
Fix Pausing after every Update
...
Updates would pause when any change has happened, not when no change has happened.
2018-10-15 17:16:09 +02:00
c50e92fb19
Add simple stateChanges map into Simulation
2018-10-02 14:55:39 +02:00
0c487f3427
Rename Grid to Simulation
...
in order to craft an actual grid data structure
2018-08-29 20:13:24 +02:00
04d61bfa02
Error out on bad gridsize input
2018-08-27 20:18:19 +02:00
873bd9c881
Allow Optional Injection of grid size into engine on creation
2018-08-27 20:13:19 +02:00
dd18fc3bc7
Make Engine Gridsize configurable
2018-08-25 17:23:06 +02:00
774e9e3782
Add Simple Documentation
2018-08-25 16:41:11 +02:00
905af769f6
Add Configurable stepsPerSecond for engine logic
2018-08-25 15:51:17 +02:00
66bf87d9d8
Allow setting a canvas for an engine at any point
2018-08-25 14:36:50 +02:00
4c6dff35c3
Add Canvas nullcheck to render function
2018-08-25 14:10:56 +02:00
976ec8097d
Separate Engine Service Functionality from Component
2018-08-25 09:36:27 +02:00
842cbeca1f
make canvas argument optional on instantiating engine
2018-08-25 09:36:27 +02:00
6ba0ca55cb
dartfmt
2018-08-23 12:38:34 +02:00
2d0e24bdf8
Move Reset Grid Implementation to Engine
2018-07-09 17:32:59 +02:00
4c1c805f24
Add addPattern Functionality to Engine
2018-07-09 17:32:35 +02:00
6745f9c9d6
Make grid Private to Engine
2018-07-09 17:31:46 +02:00
ac9a7c7591
Implement Engine Step Method
2018-07-09 17:27:56 +02:00
9030d31e97
Hide Implementation of edge rendering in grid
2018-07-09 17:27:11 +02:00
7c49531d0e
Expose Getter and Setter for Engine Running Variable
2018-07-09 17:00:53 +02:00
e18de1d84c
Rename App to Engine
2018-07-09 15:16:28 +02:00