Commit Graph
27 Commits
Author SHA1 Message Date
Stone_Red c9d5b44f90 Load chunks at start of game 2022-04-07 12:34:41 +02:00
Stone_Red 1c55813d85 Calculate max amount of rendered chunks based on window size 2022-04-01 13:10:40 +02:00
Stefan-5422 06e6c72dc3 Add items;
+ Minor changes
2022-03-24 12:09:12 +01:00
Stone_Red 2cac02e80e Replace abstract class with class and a private constructor to prevent instantiation of a class. 2022-03-19 00:16:59 +01:00
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
Stefan-5422 cde4b91ec5 Merge remote-tracking branch 'origin/main' into main 2022-03-18 10:46:18 +01:00
Stefan-5422 e3a5bda9ca Update Test Machines; 2022-03-18 10:45:53 +01:00
Stefan-5422 ea851eb00b Add Eventsystem; Update Entity to reflect changes 2022-03-18 10:45:35 +01:00
Stone_Red 1ad3cca09f Add ability to change the amount of loaded chunks more easily 2022-03-04 19:12:37 +01:00
Stone_Red 928fde6c5d - Very important commit 2022-03-04 13:27:22 +01:00
Stone_Red 84a904dcac Add class to get entities around other entities
- Add `BlockContainer` class
- Add more error logging
- Refactor code to work with the new system
2022-03-04 11:31:01 +01:00
Stone_Red a4212ca567 Add class to get entities around other entities
- Add `BlockContainer` class
- Add more error logging
- Refactor code to work with the new system
2022-03-04 11:28:36 +01:00
Stefan-5422 64f47ca5e0 a 2022-03-03 15:22:16 +01:00
Stefan-5422 eb4b2d2895 Add building code; Fix some bugs 2022-03-03 15:21:58 +01:00
Stefan-5422 3175067454 Add build ui;
Fixed naming mistake in MainController
2022-03-03 15:21:27 +01:00
Stefan-5422 c170f324fe Started add: UI 2022-02-25 11:38:58 +01:00
Stefan-5422 1c7b8dba1b Add Entity Registry; Add Template for Components
+ Refactored ChunkAlreadyExistsException (now AlreadyExistsException)
+ Removed debug console logs
2022-02-25 10:52:24 +01:00
Stone_Red b3ac1077d7 Create README.md
German sucks lol
2022-02-24 15:19:54 +01:00
Stone_Red e83c877523 Update README.md
German sucks lol
2022-02-24 15:19:47 +01:00
Stefan 625d3823c9 Delete target/classes/com/yes/yes directory
target folder should not exist
2022-02-24 15:12:14 +01:00
Stefan-5422 c7d0957902 Added Chunk Loading and player movement code 2022-02-24 15:11:15 +01:00
Stefan-5422 dfb7ef4494 Keep track of loaded chunks 2022-02-24 15:10:30 +01:00
Stefan-5422 27065159a8 Reftored code; Added base for Components and Entities
+ Component Class
+ Entity Class
+ Manager Classes
2022-02-11 12:20:57 +01:00
Stefan-5422 a4f5310aa6 Added basic world and chunk code
-Basic chunk code
-Basic world code
2022-02-11 11:30:35 +01:00
Stefan-5422 3996d6383b Updated readme; Init projekt
- Updated the README file
- Created a IDEA project inside the folder
2022-02-11 10:07:18 +01:00
Stone_Red 4bd8549125 Create README.md 2022-02-10 10:40:21 +01:00
Stefan efe2a3121d Initial commit 2022-02-10 10:38:11 +01:00