This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EnginSong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hgfdzgnzxfg | |
fg sfdg fd | |
g | |
dsfg d | |
fg | |
df g | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import java.awt.Canvas; | |
import java.awt.Color; | |
import java.awt.Dimension; | |
import java.awt.Graphics2D; | |
import java.awt.event.KeyAdapter; | |
import java.awt.event.KeyEvent; | |
import java.awt.event.WindowAdapter; | |
import java.awt.event.WindowEvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import java.util.ArrayList; | |
public class RunningGame extends Minigame { | |
//introducing private entity | |
private IconEntity arrow_left; | |
private IconEntity arrow_right; | |
private int animation_1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import java.util.ArrayList; | |
public class RunningGame extends Minigame { | |
//introducing private entity | |
private IconEntity arrow_left; | |
private IconEntity arrow_right; | |
private IconEntity animation_1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import java.util.ArrayList; | |
public class RunningGame extends Minigame { | |
//introducing private entity | |
private IconEntity arrow_left; | |
private IconEntity arrow_right; | |
private IconEntity animation_1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
/** | |
* An entity which represents one of our space invader aliens. | |
* | |
* @author Kevin Glass | |
*/ | |
public class IconEntity extends Entity { | |
/** The game in which the entity exists */ | |
private Engine engine; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import java.util.ArrayList; | |
public class RunningGame extends Minigame { | |
//introducing private entity | |
private IconEntity arrow_left; | |
private IconEntity arrow_right; | |
long countdown; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import java.util.ArrayList; | |
public class RunningGame extends Minigame { | |
//introducing private entity | |
private IconEntity arrow_left; | |
private IconEntity arrow_right; | |
long countdown; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import java.util.ArrayList; | |
public class RunningGame extends Minigame { | |
private int correct = 2; | |
private IconEntity arrow_left; | |
private IconEntity arrow_right; | |
private int selected = 0; |
NewerOlder