Conventions
In this book, you will 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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The starter class for iOS application is RobovmLauncher.java
."
A block of code is set as follows:
prefs.putInteger("sound_volume", 100); // volume @ 100% prefs.flush();
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
package com.packtpub.libgdx.demo; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; public class Main { public static void main(String[] args) { LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration(); cfg.title = "demo"; cfg.width = 480; cfg.height = 320; new LwjglApplication(new MyDemo(), cfg); } }
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: "You can quickly check this by going to the Project menu."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.