| 288 | } |
| 289 | |
| 290 | void GridModule::SetLightDirect(int x, int y, int color, bool force) |
| 291 | { |
| 292 | if (mGridControlTarget->GetGridController()) |
| 293 | mGridControlTarget->GetGridController()->SetLightDirect(x, y, color, force); |
| 294 | SetCellColor(x, y, color); |
| 295 | mGrid->SetVal(x, y, color > 0 ? 1 : 0, false); |
| 296 | } |
| 297 | |
| 298 | void GridModule::ResetLights() |
| 299 | { |
no test coverage detected