Below is first draft text of the first layout of the book. If you have suggestions or feedback, all comments will be considered as I work through this project. If you would like to see how this project progresses, sign up for my mailing list, and I will send out an email every now and then.
Red Little Pig: "I will build a house of straw."
Void LittlePig.BuildHouse(Material BuildingMaterial)
{
//Little Pig Red Looks for materials to build a house out of.
LittlePig.LooksForBuildingMaterial();
//Little Pig Red sees a building material, Straw.
LittlePig.SeesMaterial(BuildingMaterial);
//Little Big Red says “I will build a house of Straw.”
LittlePig.Says(“I will build a house of ” + BuildingMaterial.Name + “.”);
//Little Pig Red Builds a house.
LittlePig.BuildsHouse(BuildingMaterial;
}
{
//Little Pig Red Looks for materials to build a house out of.
LittlePig.LooksForBuildingMaterial();
//Little Pig Red sees a building material, Straw.
LittlePig.SeesMaterial(BuildingMaterial);
//Little Big Red says “I will build a house of Straw.”
LittlePig.Says(“I will build a house of ” + BuildingMaterial.Name + “.”);
//Little Pig Red Builds a house.
LittlePig.BuildsHouse(BuildingMaterial;
}
No comments:
Post a Comment