public static global::Units.UnitInfo CreateUnitInfo( global::HexTiling.HexCoords coords_hexCoords, float health_f, int t, bool isDocked, int fuel, Units.BomberTransport bt, Units.CarriedAircraft[] aircrafts, Units.TransportedUnit[] tu) { global::Units.UnitInfo unitInfo = new global::Units.UnitInfo(coords_hexCoords, health_f, (Units.UnitTypes)CreateUnitTypes(t, isDocked, fuel, bt, aircrafts, tu)); return(unitInfo); // TODO: Edit factory method of UnitInfo // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static Tuple <global::HexTiling.HexCoords, global::Resource.Resource, FSharpOption <global::GameState.PlayerId> > Create( global::HexTiling.HexCoords item1_hexCoords, global::Resource.Resource item2_resource, FSharpOption <global::GameState.PlayerId> item3_fSharpOption ) { PexAssume.IsNotNull(item1_hexCoords); PexAssume.IsNotNull(item2_resource); PexAssume.IsNotNull(item3_fSharpOption); Tuple <global::HexTiling.HexCoords, global::Resource.Resource, FSharpOption <global::GameState.PlayerId> > tuple = new Tuple <global::HexTiling.HexCoords, global::Resource.Resource, FSharpOption <global::GameState.PlayerId> > (item1_hexCoords, item2_resource, item3_fSharpOption); return(tuple); // TODO: Edit factory method of Tuple`3<HexCoords,Resource,FSharpOption`1<PlayerId>> // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }