From ggc
|
01 packagepackage is used to name the directory or folder a class is in VHagen;
02
03 importimport means to make the classes and/or packages available in this program wiki.Wiki;
04 importimport means to make the classes and/or packages available in this program arcade.*;
05
06 /**
07 * All about my classclass is a group of fields and methods used for making objects here.
08 * @authorthis is the Javadoc tag for documenting who created the source code Valerie Hagen
09 */
10 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 ValHagensArcade extendsextends means to customize or extend the functionality of a class ArcadeGame
11 {open braces start code blocks and must be matched with a close brace
12 publicpublic is used to indicate unrestricted access (any other class can have access) ValHagensArcade()
13 {open braces start code blocks and must be matched with a close brace
14 addArcadeLevel(newnew is used to create objects by calling the constructor Valerie.Wackadot.WackadotLevel());
15 addArcadeLevel(newnew is used to create objects by calling the constructor Val.LetsMakeADealLevel());
16 addArcadeLevel(newnew is used to create objects by calling the constructor Kirby.TravValTrackerLevel());
17 addArcadeLevel(newnew is used to create objects by calling the constructor TravVal.BreakoutLevel());
18 }close braces end code blocks and must match an earlier open brace
19 }close braces end code blocks and must match an earlier open brace
|
Compiler Errors:
----------
1. ERROR in VHagen/ValHagensArcade.java (at line 15)
addArcadeLevel(new Val.LetsMakeADealLevel());
^^^^^^^^^^^^^^^^^^^^^^
Val.LetsMakeADealLevel cannot be resolved to a type
----------
----------
2. ERROR in Valerie/Wackadot/WackadotLevel.java (at line 54)
dot=new ImageSprite(Wiki.getMedia("Dog.gif"));
The constructor ImageSprite(URL) is undefined
----------
22 problems (22 errors)
Download/View VHagen/ValHagensArcade.java