Merge remote-tracking branch 'origin/master'
Conflicts: src/MAndApps/apps/spacewars/SpaceWars.javamaster
commit
34411e6eb6
|
|
@ -23,7 +23,10 @@ import MAndApps.apps.spacewars.shop.Shop;
|
|||
import MAndApps.apps.spacewars.tools.Explosion;
|
||||
import MAndEngine.BasicApp;
|
||||
import MAndEngine.Engine;
|
||||
<<<<<<< HEAD
|
||||
import MAndEngine.ImageCreator;
|
||||
=======
|
||||
>>>>>>> origin/master
|
||||
|
||||
/**
|
||||
* main basicapp class that takes care of managing the abstract concepts of the game.
|
||||
|
|
@ -88,11 +91,6 @@ public class SpaceWars implements BasicApp {
|
|||
(int)enemies.elementAt(i).getX(),
|
||||
(int)enemies.elementAt(i).getY(), 550, true, true, 10 );
|
||||
|
||||
|
||||
|
||||
log("You gained " + enemies.elementAt(i).getWorth() + " exp.");
|
||||
addEXP(enemies.elementAt(i).getWorth());
|
||||
|
||||
enemies.remove(i);
|
||||
|
||||
} else
|
||||
|
|
@ -185,7 +183,6 @@ g.drawString("SDFGSDFGBORNJSTBRJOSNB", 100, 100);
|
|||
@Override
|
||||
public void initialize() {
|
||||
try {
|
||||
//background = ImageIO.read(new FileInputStream(new File("res/background.png")));
|
||||
Engine.timeScale = 1d / (1000d/(1000d/60));
|
||||
|
||||
background = ImageCreator.colorNoise(Color.WHITE, .4, .6, CORRECTED_WIDTH, CORRECTED_HEIGHT);
|
||||
|
|
@ -210,6 +207,7 @@ g.drawString("SDFGSDFGBORNJSTBRJOSNB", 100, 100);
|
|||
} else if (e.getKeyCode() == KeyEvent.VK_E) {
|
||||
xp = xpToNextLVL - 1;
|
||||
} else if (e.getKeyCode() == KeyEvent.VK_Q) {
|
||||
System.out.println("YOEIRGSODBH");
|
||||
debug = !debug;
|
||||
} else if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
|
||||
shopping = !shopping;
|
||||
|
|
|
|||
Loading…
Reference in New Issue