Commit Graph
1 Commits
Author SHA1 Message Date
Stone_Red ce2d26b762 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
2022-03-18 18:10:24 +01:00