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:
Unknown 2018-10-18 12:29:46 +02:00
parent 7729da3a40
commit 99ead8691b
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ class SimulationService {
_engine.clear();
}
void set gridSize(Point size) {
void set gridSize(Point<int> size) {
_engine.engine.gridSize = size;
}