/// <summary> /// A Method that all ship files must have in order to be part of the game. It creates a new ship. /// </summary> /// <param name="state">the physics state of the ship to be created.</param> /// <param name="factionInfo">the faction info of the ship to be created.</param> /// <returns>A new Ship</returns> public static IShip Create(PhysicsState state, FactionInfo factionInfo) { if (!initialized) { Initialize(); } //Calls the constructor. ArilouSkiff returnvalue = new ArilouSkiff(state, factionInfo); //gives a InertialessControlHandler (Inertialess Drive)/ returnvalue.ControlHandler = new InertialessControlHandler(); return(returnvalue); }
protected override IShip CreateHardCodedShip() { return(ArilouSkiff.Create(new PhysicsState(), null)); }