/// <summary> /// Creates a new missile launcher based on what is passed in /// </summary> /// <param name="type">The type of missile launcher to be created.</param> /// <returns>Returns the newly created missile launcher.</returns> public static IMissileLauncher CreateMissileLauncher(MLType type) { IMissileLauncher ML = null; switch (type) { case MLType.DreamCheeky: ML = new DreamCheeky(); break; case MLType.Mock: ML = new Mock(); break; } return(ML); }
public ML <T, T2> Using(MLType type) { this.type = type; return(this); }