From ggc
|
01 packagepackage is used to name the directory or folder a class is in JacobOlson.arcade;
02
03 importimport means to make the classes and/or packages available in this program arcade.*;
04 importimport means to make the classes and/or packages available in this program wiki.Wiki;
05 /**
06 * All about my classclass is a group of fields and methods used for making objects here.
07 * @authorthis is the Javadoc tag for documenting who created the source code Jolson
08 */
09 publicpublic is used to indicate unrestricted access (any other class can have access) classclass is a group of fields and methods used for making objects ArcadeGames extendsextends means to customize or extend the functionality of a class ArcadeGame
10 {open braces start code blocks and must be matched with a close brace
11 publicpublic is used to indicate unrestricted access (any other class can have access) ArcadeGames()
12 {open braces start code blocks and must be matched with a close brace
13 setName("My Arcade Games");
14 addArcadeLevel(newnew is used to create objects by calling the constructor JacobOlson.wackadot.WackadotLevel());
15 addArcadeLevel(newnew is used to create objects by calling the constructor JacobOlson.DoorGameLevel());
16 addArcadeLevel(newnew is used to create objects by calling the constructor JacobTyler.InteractiveArtLevel());
17 addArcadeLevel(newnew is used to create objects by calling the constructor JacobOlson.BreakoutLevel());
18 //addArcadeLevel(new BellOlson.FinalAssignmentLevel());
19 }close braces end code blocks and must match an earlier open brace
20 }close braces end code blocks and must match an earlier open brace
|
Compiler Errors:
----------
1. ERROR in JacobOlson/arcade/ArcadeGames.java (at line 14)
addArcadeLevel(new JacobOlson.wackadot.WackadotLevel());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
JacobOlson.wackadot.WackadotLevel cannot be resolved to a type
----------
----------
2. ERROR in JacobOlson/wackadot/WackadotLevel.java (at line 14)
public class Wackadot extends arcade.ArcadeLevel
The constructor ImageSprite(URL) is undefined
----------
7 problems (7 errors)
Download/View JacobOlson/arcade/ArcadeGames.java