Browse Source

cleanup and small code changes for first code homework

master^2
jkonert 3 years ago
parent
commit
eddb9477f2
  1. BIN
      GameProject/lib/apache-log4j-2.13.3-bin/log4j-1.2-api-2.13.3-javadoc.jar
  2. BIN
      GameProject/lib/apache-log4j-2.13.3-bin/log4j-1.2-api-2.13.3-sources.jar
  3. BIN
      GameProject/lib/apache-log4j-2.13.3-bin/log4j-api-2.13.3-javadoc.jar
  4. BIN
      GameProject/lib/apache-log4j-2.13.3-bin/log4j-api-2.13.3-sources.jar
  5. BIN
      GameProject/lib/apache-log4j-2.13.3-bin/log4j-core-2.13.3-javadoc.jar
  6. BIN
      GameProject/lib/apache-log4j-2.13.3-bin/log4j-core-2.13.3-sources.jar
  7. BIN
      GameProject/lib/apache-log4j-2.13.3-bin/log4j-core-2.13.3-tests.jar
  8. 10
      GameProject/src/playground/LevelHitTwice.java

BIN
GameProject/lib/apache-log4j-2.13.3-bin/log4j-1.2-api-2.13.3-javadoc.jar

BIN
GameProject/lib/apache-log4j-2.13.3-bin/log4j-1.2-api-2.13.3-sources.jar

BIN
GameProject/lib/apache-log4j-2.13.3-bin/log4j-api-2.13.3-javadoc.jar

BIN
GameProject/lib/apache-log4j-2.13.3-bin/log4j-api-2.13.3-sources.jar

BIN
GameProject/lib/apache-log4j-2.13.3-bin/log4j-core-2.13.3-javadoc.jar

BIN
GameProject/lib/apache-log4j-2.13.3-bin/log4j-core-2.13.3-sources.jar

BIN
GameProject/lib/apache-log4j-2.13.3-bin/log4j-core-2.13.3-tests.jar

10
GameProject/src/playground/LevelHitTwice.java

@ -36,20 +36,12 @@ public class LevelHitTwice extends SpaceInvadersLevel {
return "2 shots at alien required!!!";
}
@Override
protected int calcNrEnemies() {
return 10;
}
public void setupInitialState() {
super.setupInitialState();
GameObject ro = new RectObject("obstacleRect", this, 600, 300, 0, 0, 20, 100, Color.RED) // Remove?
.generateColliders();
this.addObject(ro);
logger.debug("added red box on top");
}
@Override
void actionIfEnemyIsHit(GameObject e, GameObject shot) {

Loading…
Cancel
Save