From ggc
|
01 packagepackage is used to name the directory or folder a class is in ChrisHull.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 * This code is modified from the example given in classclass is a group of fields and methods used for making objects, also looked at Jayson's code forfor is a looping structure for repeatedly executing a block of code help
08 * @authornull ChrisHull
09 */
10
11 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
12 {open braces start code blocks and must be matched with a close brace
13 publicpublic is used to indicate unrestricted access (any other class can have access) ArcadeGames()
14 {open braces start code blocks and must be matched with a close brace
15 setName( "Chris Hull's Arcade Games" );
16 addArcadeLevel( newnew is used to create objects by calling the constructor ChrisHull.wackadot.WackadotLevel() );
17 addArcadeLevel( newnew is used to create objects by calling the constructor ChrisHull.MontyhallLevel() );
18 addArcadeLevel( newnew is used to create objects by calling the constructor ChrisHull.ArtLevel() );
19 addArcadeLevel( newnew is used to create objects by calling the constructor Hull.BlocktrialLevel() );
20 addArcadeLevel( newnew is used to create objects by calling the constructor ChrisHull.LightOutGameLevel() );
21 addArcadeLevel( newnew is used to create objects by calling the constructor ChrisHull.FinalProjectLevel() );
22
23 }close braces end code blocks and must match an earlier open brace
24 }close braces end code blocks and must match an earlier open brace
|
Download/View ChrisHull/arcade/ArcadeGames.java