Skip to content

Instantly share code, notes, and snippets.

@Spikey3
Spikey3 / file.rb
Created March 26, 2016 23:31
Engineering2
EnginSong
hgfdzgnzxfg
fg sfdg fd
g
dsfg d
fg
df g
@Spikey3
Spikey3 / Engine
Created March 19, 2012 02:45
Main Game Engine based off of space invaders engine
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;
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;
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;
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;
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;
package game;
import java.util.ArrayList;
public class RunningGame extends Minigame {
//introducing private entity
private IconEntity arrow_left;
private IconEntity arrow_right;
long countdown;
package game;
import java.util.ArrayList;
public class RunningGame extends Minigame {
//introducing private entity
private IconEntity arrow_left;
private IconEntity arrow_right;
long countdown;
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;