From ggc
|
01 packagepackage is used to name the directory or folder a class is in GBell.arcade;
02 importimport means to make the classes and/or packages available in this program arcade.*;
03 importimport means to make the classes and/or packages available in this program wiki.Wiki;
04 /**
05 * This is a portfolio/arcade of all the
06 * programs I have written thisthis means the current object (the implicit parameter) semester.
07 * Revised: Geremy Bell
08 * @authorthis is the Javadoc tag for documenting who created the source code Jam Jenkins
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 ArcadeGames 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) ArcadeGames()
13 {open braces start code blocks and must be matched with a close brace
14 setName("Geremy's Arcade");
15 addArcadeLevel(newnew is used to create objects by calling the constructor GBell.wackadot.WackadotLevel());
16 addArcadeLevel(newnew is used to create objects by calling the constructor GBell.Breakout2Level());
17 addArcadeLevel(newnew is used to create objects by calling the constructor GBell.DoorGameLevel());
18 addArcadeLevel(newnew is used to create objects by calling the constructor GBell.InteractiveArtLevel());
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
|
Download/View GBell/arcade/ArcadeGames.java