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.
Elder Pig: "Choose your house wisely, to protect you from the big bad wolf."
void ElderPig.Warns(action BuildHouse, threat BigBadWolf)
{
//Elder Pig says “Choose your house wisely, to protect you from the big bad wolf.
ElderPig.Says(“Choose your house wisely, to protect you from the big bad wolf.”);
//Elder Pig waves to the Little Pigs.
ElderPig.Wave(LittlePigs);
//The little pigs wave to Elder Pig.
LittlePigs.Wave(ElderPig);
//The Little Pigs leave.
LittlePigs.Leave();
}
{
//Elder Pig says “Choose your house wisely, to protect you from the big bad wolf.
ElderPig.Says(“Choose your house wisely, to protect you from the big bad wolf.”);
//Elder Pig waves to the Little Pigs.
ElderPig.Wave(LittlePigs);
//The little pigs wave to Elder Pig.
LittlePigs.Wave(ElderPig);
//The Little Pigs leave.
LittlePigs.Leave();
}
No comments:
Post a Comment