Skip to content
Snippets Groups Projects
Commit 7881901a authored by jez04's avatar jez04
Browse files

feat: assignment

parent 7f714782
Branches master
No related merge requests found
Pipeline #2556 failed with stages
......@@ -3,10 +3,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cz.vsb.fei.java2</groupId>
<artifactId>java2-lab03-v3</artifactId>
<artifactId>java2-lab04-v3</artifactId>
<version>0.0.1-SNAPHOST</version>
<packaging>jar</packaging>
<name>java2-lab03-v3</name>
<name>java2-lab04-v3</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>21</maven.compiler.source>
......
......@@ -53,7 +53,6 @@ public class LochNess extends WorldEntity implements Collisionable {
position = new Point2D(scene.getSize().getWidth(), position.getY());
speed = speed.multiply(-1);
}
log.trace("LochNess position: {}", position);
}
@Override
......
......@@ -2,6 +2,7 @@ package lab.gui;
import java.io.IOException;
import java.net.URL;
import java.sql.SQLException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
......
......@@ -64,7 +64,7 @@ public class GameController {
@FXML
void changePosition(ActionEvent event) {
LochNess lochNess = new LochNess(scene);
lochNess.addDeadListener(() -> System.out.println("LochNess dead!"));
lochNess.addDeadListener(() -> log.info("LochNess dead!"));
lochNess.addDeadListener(this::addDead);
scene.add(lochNess);
......
......@@ -13,7 +13,6 @@ import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import lab.data.Score;
import lab.gui.GameController;
public class DbConnector implements ScoreStorageInterface {
......
module lab02_module {
module lab04_module {
requires transitive javafx.controls;
requires javafx.fxml;
requires javafx.base;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment