Make gridSize in Services pass correct signature
Both need to conform to Point<int> to be accepted by the engine.
This commit is contained in:
parent
7729da3a40
commit
99ead8691b
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ class SimulationService {
|
|||
_engine.clear();
|
||||
}
|
||||
|
||||
void set gridSize(Point size) {
|
||||
void set gridSize(Point<int> size) {
|
||||
_engine.engine.gridSize = size;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue