Game Development Reference
In-Depth Information
NetBeans will create a bootstrap infrastructure for the GamePlayLoop.java class,
with a package and a class declaration, as illustrated in Figure 7-4 . Now, you add an
extends keyword and AnimationTimer.
Figure 7-4 . NetBeans creates a GamePlayLoop.java class and opens it in an editing tab in the IDE, for you to edit
Mouse over the error, press Alt+Enter , and select Add import , as displayed in
Figure 7-5 .
 
 
 
Search WWH ::




Custom Search