Commit Graph
68 Commits
Author SHA1 Message Date
Bokros Bálint 7f7025219e Dirty, but working event subscribe 2016-05-13 17:11:01 +02:00
Bokros Bálint 76057a4712 KeyHandler is properly nested now 2016-05-13 17:11:01 +02:00
Bokros Bálint a0f47a6e05 Added rotate to key options 2016-05-13 16:08:53 +02:00
Bokros Bálint c9ec85cec5 Implemented updateDisplay 2016-05-13 16:08:27 +02:00
Bokros Bálint 48859a676c Fixed typo 2016-05-13 14:53:31 +02:00
Bokros Bálint 3cd196df78 Refactored Game following the footprints of Socc
such Singleton, very software techniques, much patterns
2016-05-13 13:58:23 +02:00
Bokros Bálint 1c4488d710 Added keyboard input support for shooting stargates 2016-05-07 17:45:06 +02:00
Bokros Bálint a7d6c604d8 Implemented Stargate shooting in Game 2016-05-07 17:45:06 +02:00
Bokros Bálint 070d3ef3f4 Added a map to Stargate 2016-05-07 17:45:06 +02:00
Bokros Bálint d61b6af8ed Implemented box operations 2016-05-07 16:51:20 +02:00
Bokros Bálint f760ded0e4 Added hasBox to Player 2016-05-07 16:51:20 +02:00
Bokros Bálint 645028bc94 Added keyboard input support for moving players and box operations 2016-05-07 15:20:20 +02:00
Bokros Bálint 6fb3f4fb17 Merge branch 'master' of https://github.com/bokrosbalint/cicaprojekt 2016-05-07 14:21:37 +02:00
Bokros Bálint a458aba4dd Added delay parameter to start of flowoftime 2016-05-07 14:19:53 +02:00
Bokros Bálint bf191678a6 Merge branch 'master' into game 2016-05-07 14:18:43 +02:00
Bokros Bálint e98abbecac Added FlowOfTime init in Game 2016-05-07 14:06:09 +02:00
Bokros Bálint e1c6612356 Added lots'a init stuff in Game 2016-05-07 14:04:55 +02:00
Bokros Bálint 96e53324e1 Removed main from Game.java
It gon' be called from Application anyway
2016-05-07 13:15:55 +02:00
Bokros Bálint 85ed728124 Cleaned up dungeons, which weren't properly verificated and validated 2016-05-07 13:03:01 +02:00
Bokros Bálint 412c37c1da Cleaned up Menu
Code Your Own Game
2016-05-07 13:02:35 +02:00
Bokros Bálint 20dff9e8c6 Added error handling in Menu babylon stylez 2016-04-26 02:12:13 +02:00
Bokros Bálint 55940e42ae Added print to box methods in Menu 2016-04-26 02:08:26 +02:00
Bokros Bálint f6bef6fdde Implemented Stargate spawning correctly
Or at least attemted to
2016-04-26 01:09:49 +02:00
Bokros Bálint 90a2b58c37 Fixed list methods in Menu 2016-04-26 01:09:49 +02:00
Bokros Bálint e97d8c4c6d Fixed default Tile coordinates 2016-04-26 01:09:49 +02:00
Bokros Bálint 732d00bb23 Fixed NPE in Tile 2016-04-26 00:35:03 +02:00
Bokros Bálint 9436508c60 Fixed Menu 2016-04-26 00:34:46 +02:00
Bokros Bálint 5e31be0bdb Added method testOnSequenceOfCommands, which is to be implemented 2016-04-25 23:54:46 +02:00
Bokros Bálint 074b8a90f2 Supressing error instead of fixing it 2016-04-25 23:53:20 +02:00
Bokros Bálint 0d770ace11 Throwing exceptions to caller instead of handling them
Because exception handling is for the weak
2016-04-25 23:52:24 +02:00
Bokros Bálint be87c7f18a Added missing semicolon 2016-04-25 23:19:01 +02:00
Bokros Bálint 55d56e41b2 Swapped unnecessary menu with another unnecessary menu 2016-04-25 23:08:53 +02:00
Bokros Bálint 49601774ca Implemented boxDrop in Tester 2016-04-25 22:33:27 +02:00
Bokros Bálint 1653e7b0be Implemented boxLift in Tester 2016-04-25 22:33:12 +02:00
Bokros Bálint 9013bd44d7 Implemented teleport in Stargate 2016-04-25 22:16:18 +02:00
Bokros Bálint 2f5f93dd86 Fixed isOpen in Stargate 2016-04-25 22:15:56 +02:00
Bokros Bálint 7549f9e502 Implemented listStargates 2016-04-25 21:53:16 +02:00
Bokros Bálint afbca7b80b Implemented toString in Stargate 2016-04-25 21:53:16 +02:00
Bokros Bálint 6810ec02bc Implemented rotate 2016-04-25 21:15:24 +02:00
Bokros Bálint 1b2c8c8478 Implemented shootONeillsGun 2016-04-25 21:02:30 +02:00
Bokros Bálint cf356806c5 Implemented move in Tester 2016-04-25 20:44:22 +02:00
Bokros Bálint d61be1d967 Players are now properly initialized 2016-04-25 20:02:48 +02:00
Bokros Bálint 43653de8c9 Implemented listPlayers 2016-04-25 19:18:22 +02:00
Bokros Bálint c26b3ae75f Added toString to PlayerBase 2016-04-25 19:14:54 +02:00
Bokros Bálint c577bb1471 Added coords and toString to Tile 2016-04-25 19:14:08 +02:00
Bokros Bálint 7b531fecdd Refactored Player and PlayerBase ctors 2016-04-25 13:56:41 +02:00
Bokros Bálint 1a23abbe47 Added Tester class 2016-04-25 13:02:45 +02:00
Bokros Bálint 1ab13398bb reformatted code 2016-04-24 23:01:34 +02:00
Bokros Bálint 794378a919 Removed unneeded 'cicaprojekt.'-s from the project 2016-04-24 20:44:10 +02:00
Bokros Bálint b32fec8c52 Stargate's isSpawned attribute is now properly initialized 2016-04-24 20:10:31 +02:00
Bokros Bálint c6a0b984eb Added red and green Stargates 2016-04-24 20:09:53 +02:00
Bokros Bálint 708ad09c5e Cosmetic fixes in Stargate 2016-04-24 20:09:02 +02:00
Bokros Bálint b8b79db028 Added threshold initialization to ctor 2016-04-19 11:46:59 +02:00
Bokros Bálint f45ed417ae Refactored ONeill into PlayerBase and Player
Change was needed because of updated specification.
2016-04-19 11:46:06 +02:00
Bokros Bálint db54dcdd1d Implemented stack in Scale
Implemented a stack of items on the Scale, instead of one item, change was needed due to the modified specification
2016-04-19 11:31:56 +02:00
Bokros Bálint 7f98d7ff3d Pickable now extends Measurable 2016-04-19 11:01:26 +02:00
Bokros Bálint 78b3fb0986 Created Measurable interface 2016-04-19 11:01:09 +02:00
Bokros Bálint a06feaa0ca attempt to fix stargate spawning
still gives stackoverflow, as there's no stop condition
2016-04-01 17:59:53 +02:00
Bokros Bálint 5ece8b8f27 Stargate isn't initialized with nullpointers now 2016-04-01 17:59:53 +02:00
Bokros Bálint a8a938ee14 added default ctor to Tile 2016-04-01 17:59:53 +02:00
Bokros Bálint b3ecdf2b95 implemented misteriously gone setAdjacentTile 2016-04-01 17:59:53 +02:00
Bokros Bálint 0230aec6d8 ONeill is now constructed with an existing ctor 2016-04-01 17:59:53 +02:00
Bokros Bálint 59d03d193f added testField as a temporary measure
this field can be set as all adjacentFields in the skeleton
2016-04-01 17:59:53 +02:00
Bokros Bálint 15c9306d95 setItemOnTile doesn't use nonexistent methods 2016-04-01 17:59:52 +02:00
Bokros Bálint 3a975047c4 removed unnecessary import from gap 2016-04-01 17:48:00 +02:00
Bokros Bálint 017e24a484 added rotateLeft and rotateRight methods to ONeill 2016-04-01 17:48:00 +02:00
Bokros Bálint b7b182cf7d created Menu 2016-04-01 17:48:00 +02:00
Bokros Bálint 7d45ab6b79 created Menu skeleton 2016-04-01 17:47:59 +02:00