| 1967 | } |
| 1968 | |
| 1969 | Array<Script*> Level::GetScripts(const MClass* type, Actor* root) |
| 1970 | { |
| 1971 | Array<Script*> result; |
| 1972 | CHECK_RETURN(type, result); |
| 1973 | ScopeLock lock(ScenesLock); |
| 1974 | const bool isInterface = type->IsInterface(); |
| 1975 | if (root) |
| 1976 | ::GetScripts(type, isInterface, root, result); |
| 1977 | else |
| 1978 | for (int32 i = 0; i < Scenes.Count(); i++) |
| 1979 | ::GetScripts(type, isInterface, Scenes[i], result); |
| 1980 | return result; |
| 1981 | } |
| 1982 | |
| 1983 | Scene* Level::FindScene(const Guid& id) |
| 1984 | { |
nothing calls this directly
no test coverage detected