mirror of
https://github.com/Stefan-5422/School-Programming-Projekt-022022.git
synced 2026-09-04 00:46:01 +02:00
Improve code readability and structure
- Fix exception when trying to place an item without one selected - Add access modifiers to all class members - Add `final` to all variables if applicable - Add `TestBehaviour` to the machines to test the event system - Convert classes to records where appropriate - Change `Function<T, T>` to `Consumer<T>` - Change non generic methods in the `EventHandler` class to generic methods - Remove unused imports - Other minor improvements
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<VBox spacing="20.0" xmlns:fx="http://javafx.com/fxml"
|
||||
fx:controller="com.yes.yes.MainController" fx:id="root">
|
||||
</VBox>
|
||||
|
||||
Reference in New Issue
Block a user