From 3996d6383bc47bdac242c9b4e2bddc673698a22e Mon Sep 17 00:00:00 2001 From: Stefan-5422 <32109571+Stefan-5422@users.noreply.github.com> Date: Fri, 11 Feb 2022 10:07:18 +0100 Subject: [PATCH] Updated readme; Init projekt - Updated the README file - Created a IDEA project inside the folder --- .gitignore | 75 ++++++++++++++++++ .idea/.gitignore | 8 ++ .idea/.name | 1 + .idea/misc.xml | 13 +++ .idea/runConfigurations.xml | 10 +++ .idea/vcs.xml | 6 ++ README.md | 23 +++++- pom.xml | 70 ++++++++++++++++ .../java/com/yes/yes/HelloApplication.java | 23 ++++++ .../java/com/yes/yes/HelloController.java | 14 ++++ src/main/java/module-info.java | 8 ++ .../resources/com/yes/yes/hello-view.fxml | 16 ++++ yes.iml | 9 +++ yes.png | Bin 0 -> 36936 bytes 14 files changed, 274 insertions(+), 2 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/.name create mode 100644 .idea/misc.xml create mode 100644 .idea/runConfigurations.xml create mode 100644 .idea/vcs.xml create mode 100644 pom.xml create mode 100644 src/main/java/com/yes/yes/HelloApplication.java create mode 100644 src/main/java/com/yes/yes/HelloController.java create mode 100644 src/main/java/module-info.java create mode 100644 src/main/resources/com/yes/yes/hello-view.fxml create mode 100644 yes.iml create mode 100644 yes.png diff --git a/.gitignore b/.gitignore index a1c2a23..e88fff4 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,78 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +.idea/artifacts +.idea/compiler.xml +.idea/jarRepositories.xml +.idea/modules.xml +.idea/*.iml +.idea/modules +*.iml +*.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..73f69e0 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..396a0ba --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +yes \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..e8d124d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 0000000..797acea --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index fb68228..f162e26 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,22 @@ -# lolidkposding +# Fabrik spiel: -> Cool guy was here +> In diesem spiel geht es darum formen abzubauen +> und in andere formen nach bestimten kriterien +> zu verwandeln + +### Transportiere items von machine zu machine mithilfe von fließbändern + +## Main gameplay loop: + +Main hub (Alle n chuncks kleinere) +Geforderte formen zum hub bringen Freischalten von land und machinen Upgraden von machinen + +- Grid based +- Unlimtierte resourcen +- Base building +- verabeitungs +- logik + +## Preview + +![This is a figma, I don't think it will look like that](/yes.png) diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c13f8bd --- /dev/null +++ b/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + com.yes + yes + 1.0-SNAPSHOT + yes + + + UTF-8 + 5.7.1 + + + + + org.openjfx + javafx-controls + 17-ea+11 + + + org.openjfx + javafx-fxml + 17-ea+11 + + + + org.junit.jupiter + junit-jupiter-api + ${junit.version} + test + + + org.junit.jupiter + junit-jupiter-engine + ${junit.version} + test + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 17 + 17 + + + + org.openjfx + javafx-maven-plugin + 0.0.6 + + + + default-cli + + com.yes.yes/com.yes.yes.HelloApplication + + + + + + + \ No newline at end of file diff --git a/src/main/java/com/yes/yes/HelloApplication.java b/src/main/java/com/yes/yes/HelloApplication.java new file mode 100644 index 0000000..2b59c03 --- /dev/null +++ b/src/main/java/com/yes/yes/HelloApplication.java @@ -0,0 +1,23 @@ +package com.yes.yes; + +import javafx.application.Application; +import javafx.fxml.FXMLLoader; +import javafx.scene.Scene; +import javafx.stage.Stage; + +import java.io.IOException; + +public class HelloApplication extends Application { + @Override + public void start(Stage stage) throws IOException { + FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("hello-view.fxml")); + Scene scene = new Scene(fxmlLoader.load(), 320, 240); + stage.setTitle("Hello!"); + stage.setScene(scene); + stage.show(); + } + + public static void main(String[] args) { + launch(); + } +} \ No newline at end of file diff --git a/src/main/java/com/yes/yes/HelloController.java b/src/main/java/com/yes/yes/HelloController.java new file mode 100644 index 0000000..d08083d --- /dev/null +++ b/src/main/java/com/yes/yes/HelloController.java @@ -0,0 +1,14 @@ +package com.yes.yes; + +import javafx.fxml.FXML; +import javafx.scene.control.Label; + +public class HelloController { + @FXML + private Label welcomeText; + + @FXML + protected void onHelloButtonClick() { + welcomeText.setText("Welcome to JavaFX Application!"); + } +} \ No newline at end of file diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java new file mode 100644 index 0000000..c4aa20f --- /dev/null +++ b/src/main/java/module-info.java @@ -0,0 +1,8 @@ +module com.yes.yes { + requires javafx.controls; + requires javafx.fxml; + + + opens com.yes.yes to javafx.fxml; + exports com.yes.yes; +} \ No newline at end of file diff --git a/src/main/resources/com/yes/yes/hello-view.fxml b/src/main/resources/com/yes/yes/hello-view.fxml new file mode 100644 index 0000000..8f5b21e --- /dev/null +++ b/src/main/resources/com/yes/yes/hello-view.fxml @@ -0,0 +1,16 @@ + + + + + + + + + + + + +