Commit Graph
11 Commits
Author SHA1 Message Date
Stone_Red 96abb1ace5 Rename some method names for better clarity 2022-04-07 14:18:07 +02:00
Stone_Red 2a107f029e Improve code formatting 2022-04-07 14:05:37 +02:00
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
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
Stone_Red 1ad3cca09f Add ability to change the amount of loaded chunks more easily 2022-03-04 19:12:37 +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
Stefan-5422 eb4b2d2895 Add building code; Fix some bugs 2022-03-03 15:21: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
Stefan-5422 c7d0957902 Added Chunk Loading and player movement code 2022-02-24 15:11:15 +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