a92b864dfa
Extract EngineService into separate service
2018-08-27 20:50:12 +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
9886f13d69
Add grid changing function
2018-08-27 19:55:30 +02:00
5e8f83cf8a
Refactor EngineService to be able to inject custom Engine
...
fixes #38
2018-08-27 19:37:35 +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
c3f0881454
Wire up Speed slider to Engine Configuration
2018-08-25 15:51:32 +02:00
905af769f6
Add Configurable stepsPerSecond for engine logic
2018-08-25 15:51:17 +02:00
588a3ad2a0
Add explicit getter and setter for Simulation Speed
...
In preparation for adding additional logic as a quasi-callback to execute whenever the simSpeed changes (i.e. the slider is changed)
2018-08-25 15:26:44 +02:00
3c27f5ef38
Re-Add Canvas to Simulation component
2018-08-25 15:01:00 +02:00
71023de49a
Make canvas virtual variable on EngineService
2018-08-25 15:00:46 +02:00
cc33628e5f
Enable cached engine returns for EngineService
2018-08-25 14:51:28 +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
572406b963
Fix undefined running access
2018-08-25 14:10:19 +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
bf0d136d8b
Add Configuration Sidebar with ConfigurationService
2018-08-23 14:12:22 +02:00
6ba0ca55cb
dartfmt
2018-08-23 12:38:34 +02:00
abd2c3ac23
Add Speed Slider Tooltip
2018-08-23 12:07:54 +02:00
c3368524f9
Change Step Forward Icon
2018-08-23 12:07:43 +02:00
4906bbe54c
Switch Control Interface Icons to MaterialIcons
2018-08-23 11:34:08 +02:00
bd7990991e
Connect Speed Slider to internal Variable
2018-08-23 09:33:15 +02:00
c86d8d8b59
Split Simulation & Controls into Components
2018-08-22 20:16:31 +02:00
917d1c3fab
Split App Header into Component
2018-08-22 13:00:41 +02:00
b541353091
Fix Material directives import statement
2018-07-10 14:28:41 +02:00
c5cd600cfc
Add Sample Material Styling
2018-07-10 12:52:56 +02:00
4b7051a5e1
Fix implicit Overwrite of Dart Pattern Class
2018-07-09 17:45:11 +02:00
49803e7a6a
Fix Remnants of EdgeRendering toggle compile Error
2018-07-09 17:33:48 +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
dfcd55fe71
Remove App Grid Access
2018-07-09 17:29:09 +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
1c756bbda4
Add Functionality to Clear Board Button
2018-07-08 19:45:47 +02:00
1a43be14fa
Add Clear Board Button to Interface
2018-07-08 19:45:35 +02:00
016b166d50
Add Clear Board Function to Engine
2018-07-08 19:45:04 +02:00
1146c7d265
Add Check for State Changes During Grid Update
2018-07-08 19:32:43 +02:00
9fb67d0194
Add return of new cell state to advanceState Function
2018-07-08 19:08:40 +02:00
3676264444
dartfmt
2018-07-08 19:05:11 +02:00
4074f49228
Fix Missing return statement
2018-07-08 19:03:48 +02:00
fb014ce5ac
Shorten Heading
2018-07-08 19:01:46 +02:00
8fc3f35321
Add Edge Rendering with Toggle Button
2018-07-08 19:01:14 +02:00
c5ed18f0ad
Add Random Button Functionality
...
Adds random pattern toward the center of the canvas. Does not delete anything.
2018-07-07 22:02:04 +02:00
c5b62e6c9f
Fix Reset & Step not working on first click
...
Rendering dirty flags were not updated accordingly, so the updates happened but were not pushed to be rendered. Added and moved additional dirty flag setters.
2018-07-07 21:43:24 +02:00
2d2365e606
Fix Simulation Reset not Replicating the Starting Pattern
...
Now keeps the original parameters for the first pattern of a grid stored and can replicate them reliably.
2018-07-07 21:42:07 +02:00