/// <summary> /// Creates IStaticGameObject by given typeName and argument. Inserts the object to given SolarSystem and registers it in HitTest. /// </summary> /// <param name="typeName">The type of the creating object.</param> /// <param name="args">The arguments of the creating object.</param> /// <param name="solSyst">The creating object SolarSystem.</param> /// <returns>Returns created IStaticGameObject.</returns> public IStaticGameObject CreateIsgo(string typeName, object[] args, SolarSystem solSyst) // prepared...never used { IStaticGameObject isgo = xmlLoader.CreateISGO(typeName, args); solSyst.AddISGO(isgo); Game.HitTest.RegisterISGO(isgo); return(isgo); }