Commit Graph
39 Commits
Author SHA1 Message Date
Stone_Red 40b58a42ef Add destroy mashine 2022-05-13 11:25:00 +02:00
Stone_Red e14e973295 Code cleanup and change reset position key to the home key 2022-05-13 10:25:24 +02:00
Stone_Red b7caf1ce35 Fix conveyor belts 2022-05-13 10:21:59 +02:00
Stone_Red a4ef1e9ae4 Minor updates
xD
2022-05-12 13:48:51 +02:00
Stefan-5422 5bb37573eb Add Hub; Fix Conveyor; 2022-05-12 12:49:37 +02:00
Stone_Red 30d4d70ae8 Improve rotation functionality 2022-05-07 14:23:46 +02:00
Stone_Red 6867f4ec10 Set references null on destroy 2022-05-07 14:23:07 +02:00
Stone_Red a297661118 Add destroy method to entity and components 2022-05-07 13:12:08 +02:00
Stone_Red 8331272918 Fix destroyed state logging 2022-05-07 03:59:22 +02:00
Stone_Red 9670391019 Fix method signature of removeListener method 2022-05-07 03:54:58 +02:00
Stone_Red 00c96a42b8 Accept items from all directions (Conveyor belt) add simple rotation on place 2022-05-06 20:46:25 +02:00
Stone_Red a604ce10fe Fix Conveyor belts 2022-05-06 20:13:50 +02:00
Stone_Red 3d7b86d859 Add Conveyor belts and only accept items when data is ´null`
The conveyor belts work, but they are also kind of broken at the moment. Have fun!
2022-05-06 17:03:51 +02:00
Stefan-5422 16d100f9fb Add recieve and offer behaviours; + generate behaviour 2022-05-06 11:26:56 +02:00
Stefan-5422 0dd786f812 Add tie in off global event system; Add test offerer and reciever 2022-04-21 12:56:23 +02:00
Stefan-5422 f4d884753c Add start of working items; 2022-04-08 11:34:19 +02:00
Stone_Red 96abb1ace5 Rename some method names for better clarity 2022-04-07 14:18:07 +02:00
Stone_Red e68366d4a5 Add tool tips to build items 2022-04-07 14:06:01 +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
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
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
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