| 1392 | } |
| 1393 | |
| 1394 | void World::SimulateScripts() |
| 1395 | { |
| 1396 | for (int i = 0; i < _scripts.Size();) |
| 1397 | { |
| 1398 | if (_scripts[i]->OnSimulate()) |
| 1399 | { |
| 1400 | _scripts.Delete(i); |
| 1401 | } |
| 1402 | else |
| 1403 | { |
| 1404 | i++; |
| 1405 | } |
| 1406 | } |
| 1407 | } |
| 1408 | |
| 1409 | void World::SetCameraScript(Script* script) |
| 1410 | { |
no test coverage detected