- Action 1
- Action 2
- Action 3
Instructions often need some extra explanation so that they make sense, so they are followed with:
This heading explains the working of tasks or instructions that you have just completed.
You will also find some other learning aids in the book, including:
These set practical challenges and give you ideas for experimenting with what you have learned.
You will also find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "If the mouse reports that the left button is pressed, the code checks with the currentSquare
object by calling its Contains()
method to determine if the mouse's coordinates fall within its area."
A block of code is set as follows:
spriteBatch.Begin(); spriteBatch.Draw( squareTexture, currentSquare, colors[playerScore % 3]); spriteBatch.End();
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Run your game by clicking on Start Debugging from the Debug menu".