public Generator() { fieldGeneratorCoordinates = new BattleshipCoordinateJSON.HoldingArrayGenerator("field \"Coordinates\" of the BattleshipPlayerData class", false); fieldGeneratorSunkShip = new BattleshipShipTypeJSON.HoldingGenerator("field \"SunkShip\" of the BattleshipPlayerData class", false); fieldGeneratorShipLocations = new BattleshipShipTypeJSON.HoldingArrayGenerator("field \"ShipLocations\" of the BattleshipPlayerData class", false); fieldGeneratorIsGameOver = new JSONHoldingBooleanGenerator("field \"IsGameOver\" of the BattleshipPlayerData class"); unknownFieldGenerator = new UnknownFieldGenerator(false); set_what("the BattleshipPlayerData class"); allow_incomplete = false; allow_unpolished = false; }
public Generator() { fieldGeneratorUserCoordinates = new BattleshipCoordinateJSON.HoldingArrayGenerator("field \"UserCoordinates\" of the BattleshipQueryState class", false); fieldGeneratorComputerCoordinates = new BattleshipCoordinateJSON.HoldingArrayGenerator("field \"ComputerCoordinates\" of the BattleshipQueryState class", false); fieldGeneratorStartDatetime = new DateAndOrTimeJSON.HoldingGenerator("field \"StartDatetime\" of the BattleshipQueryState class", false); fieldGeneratorBattleshipCommandKind = new FieldHoldingGeneratorBattleshipCommandKind("field \"BattleshipCommandKind\" of the BattleshipQueryState class"); unknownFieldGenerator = new UnknownFieldGenerator(false); set_what("the BattleshipQueryState class"); allow_incomplete = false; allow_unpolished = false; }