官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text as are shown as follows: "AbstractExpression: It defines an interpret() method that is common to all node in the abstract syntax tree."

A block of code is set as follows:

class WalkMoveStrategy:IMoveStrategy{
  func performMove() {
    print("I am walking")
  }
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

class WalkMoveStrategy:IMoveStrategy{
  func performMove() {
 print("I am walking")
  }
}

Any console output is written as follows:

Printing checkPoint....
Level: 0 Weapon: gun Points: 1200 
Level: 1 Weapon: tommy gun Points: 2250 
Level: 2 Weapon: bazooka Points: 2400 
Level: 4 Weapon: knife Points: 3000 
Total Points: 8850

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on the Show the Test navigator button on the left-hand side."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 沁阳市| 开封市| 屏南县| 永川市| 江津市| 枣庄市| 贵州省| 湖州市| 策勒县| 当涂县| 武胜县| 长子县| 壤塘县| 灵璧县| 富民县| 临城县| 新兴县| 和田市| 霍林郭勒市| 轮台县| 苏尼特左旗| 壶关县| 新余市| 保山市| 博罗县| 图们市| 新乡市| 南乐县| 敦化市| 维西| 阿拉善左旗| 静乐县| 霸州市| 祁连县| 安新县| 宽甸| 潍坊市| 三河市| 富宁县| 榆树市| 文化|