Commit Graph
63 Commits
Author SHA1 Message Date
Stone_Red 0b4e6114c3 Remove unnecessary synchronized keyword from GlobalExecQueue 2022-06-02 19:08:07 +02:00
Stone_Red 084869401e Center hub on start and when pressing the home key 2022-06-02 18:53:31 +02:00
Stone_Red 5d1b6247d4 - Change Stacker design
- Fix stack behavior
- Set status text at start
2022-06-02 17:32:04 +02:00
Stone_Red a20841491d Improve code formatting 2022-06-02 17:04:31 +02:00
Stone_Red 98fe8b2d1b Improve code formatting 2022-06-02 17:02:02 +02:00
Stone_Red 087da94889 Fix game 2022-06-02 16:56:15 +02:00
Stefan-5422 a5ee65c927 BROKEN: Buggy codeno compile 2022-06-02 15:18:22 +02:00
Stone_Red a8eb398b0a Implement horizontal cutter 2022-05-20 15:44:26 +02:00
Stone_Red fa22fa23ff - Add cutter machine base
- Add color system
- Improve some variable names
-
2022-05-19 20:20:54 +02:00
Stone_Red b047822cbb Change wrong exception type 2022-05-19 12:06:54 +02:00
Stone_Red c1f7802a33 Suppress incorrect warnings and implement some suggestions 2022-05-19 11:53:45 +02:00
Stone_Red 840da9a483 Add splitter and fix a few bugs 2022-05-19 11:32:09 +02:00
Stone_Red 4716a087c1 Add synchronized keyword to trigger method 2022-05-13 15:52:16 +02:00
Stone_Red ee3ac71f29 Add final keyword to one field 2022-05-13 13:09:09 +02:00
Stone_Red 224db7ac35 Add Incinerator (DestroyMachine) and remove test mashine 2022-05-13 13:06:28 +02:00
Stone_Red 7a6991ccd7 Build Box UI improvments 2022-05-13 12:23:12 +02:00
Stone_Red e53db4256b More code cleanup and fix receive behavior 2022-05-13 11:26:12 +02:00
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
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