Пример #1
0
 public static Actors.CActor[] queryActorRegistry(Type type, int layer)
 {
     try
     {
         return(_currentMap.queryActorRegistry(type, layer));
     }
     catch (NullReferenceException)
     {
         return(null);
     }
 }
Пример #2
0
 public Actors.CActor setActorToFollow(string actorName)
 {
     CMasterControl.camera.actorToFollow = _currentMap.queryActorRegistry(actorName)[0];
     return(CMasterControl.camera.actorToFollow);
 }