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

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.

主站蜘蛛池模板: 隆子县| 土默特右旗| 北川| 通河县| 锡林浩特市| 方山县| 陇南市| 德钦县| 石门县| 永州市| 南昌市| 霍州市| 库尔勒市| 杂多县| 闽清县| 淳安县| 永宁县| 诏安县| 乐至县| 内丘县| 扬州市| 仁化县| 巨鹿县| 封丘县| 镇雄县| 贺兰县| 双城市| 民县| 柏乡县| 文水县| 土默特左旗| 晋江市| 崇义县| 富阳市| 卢龙县| 凤城市| 多伦县| 来安县| 山东省| 南郑县| 安化县|