From ggc
|
01 packagepackage is used to name the directory or folder a class is in arcade;
02
03 importimport means to make the classes and/or packages available in this program wiki.Wiki;
04 /**
05 * All about my classclass is a group of fields and methods used for making objects here.
06 * @authorthis is the Javadoc tag for documenting who created the source code Jam Jenkins
07 */
08 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 DealArcade extendsextends means to customize or extend the functionality of a class ArcadeGame
09 {open braces start code blocks and must be matched with a close brace
10 publicpublic is used to indicate unrestricted access (any other class can have access) DealArcade()
11 {open braces start code blocks and must be matched with a close brace
12 setName("Let's Make a Deal");
13 addArcadeLevel(newnew is used to create objects by calling the constructor GBell.DoorGameLevel());
14 addArcadeLevel(newnew is used to create objects by calling the constructor NickandChris.MakeADealLevel());
15 addArcadeLevel(newnew is used to create objects by calling the constructor Jayson.deal.DealLevel());
16 addArcadeLevel(newnew is used to create objects by calling the constructor ChrisHull.MontyhallLevel());
17 addArcadeLevel(newnew is used to create objects by calling the constructor JacobOlson.DoorGameLevel());
18 addArcadeLevel(newnew is used to create objects by calling the constructor Merima.dealLevel());
19 addArcadeLevel(newnew is used to create objects by calling the constructor PavitraPullay.LetsMakeADealLevel());
20 addArcadeLevel(newnew is used to create objects by calling the constructor HemendraPullay.letsmakeadealLevel());
21 addArcadeLevel(newnew is used to create objects by calling the constructor Kirby.LetsMakeADeal2Level());
22 addArcadeLevel(newnew is used to create objects by calling the constructor Val.LetsMakeADealLevel());
23 addArcadeLevel(newnew is used to create objects by calling the constructor KimMooney.LetsMakeADealLevel());
24 addArcadeLevel(newnew is used to create objects by calling the constructor WilliamAnderson.DealLevel());
25 addArcadeLevel(newnew is used to create objects by calling the constructor MattC.MakeADealLevel());
26 addArcadeLevel(newnew is used to create objects by calling the constructor BlakeErskine.letsmakeadealLevel());
27 }close braces end code blocks and must match an earlier open brace
28 }close braces end code blocks and must match an earlier open brace
|
Compiler Errors:
----------
1. ERROR in arcade/DealArcade.java (at line 22)
addArcadeLevel(new Val.LetsMakeADealLevel());
^^^^^^^^^^^^^^^^^^^^^^
Val.LetsMakeADealLevel cannot be resolved to a type
----------
----------
2. ERROR in GBell/DoorGameLevel.java (at line 74)
prize=new ImageSprite (Wiki.getMedia("Gbellbluesmile.gif"));
The public type ValLetsMakeADealLevel must be defined in its own file
----------
37. ERROR in Val/LetsMakeADea
Download/View arcade/DealArcade.java