Commit Graph

23 Commits

Author SHA1 Message Date
Basilius Sauter 1c53604244 Adjusted tests. 2019-06-27 14:39:03 +02:00
Basilius Sauter e18cdd21cc Added void return type to setUp/tearDown test methods. 2019-06-27 09:40:12 +02:00
Basilius Sauter bab3e0f236 Changed viewpoint to use uuid-based primary key 2018-10-08 17:29:44 +02:00
Basilius Sauter 04b3b6aaf9 Changed character id to uuid 2018-10-08 17:29:44 +02:00
Vassyli c07f7b3342 Removed auto-flushing for every event from EventManager. 2018-10-08 17:26:44 +02:00
Vassyli c9e6f679c4 Adds events to character->getAttack and getDefense to modify the value. Tests included. 2018-01-09 17:16:54 +01:00
Vassyli 867843dddd Adds a GameBuilder to allow better dependency injection 2017-06-23 14:43:24 +02:00
Vassyli 329430c547 Fixed test 2017-06-12 16:00:44 +02:00
Vassyli 29e474b9c1 Adds possibility to add parameters to actions. 2017-06-12 14:58:40 +02:00
Vassyli 201a3a032f Implemented suggested changes.
Fixes #94
2017-04-10 09:42:46 +02:00
Vassyli e6e9e6e102 Added EventContextData containers. 2017-04-10 09:42:46 +02:00
Vassyli 498f4965e6 Adds tests and support for Unidirectional connections.
Also fixes travis config.
2017-03-02 20:04:27 +01:00
Austen McDonald 340d6d18fa Rename CharacterViewpoint to Viewpoint
As I was writing the documentation, this just feels like added complexity that we don't need.
2016-11-11 14:06:26 -08:00
Austen McDonald f7e34162e8 Rename CharacterViewpoint::getActions() to CharacterViewpoint::getActionGroups() b/c that's what it is 2016-09-04 06:08:00 +00:00
Austen McDonald f73c5c3b11 Fix GameTest to use new hook and fix a bug in it :) 2016-09-04 06:03:07 +00:00
Austen McDonald 135dd22939 Add tests for simple getters in Game and fix bug with TimeKeeper 2016-08-23 22:33:46 +00:00
Austen McDonald 86751fc6d5 Refactor ModelTestCase so I can use it outside of the Core. 2016-08-22 14:30:22 -07:00
Austen McDonald 921eb282a4 Add cwd or rootDir support back to the game so crates can configure where their composer root will live 2016-08-09 20:12:34 -07:00
Austen McDonald b360ca9ac6 Remove support for LOTGD_CONFIG environment variable. 2016-08-09 00:49:20 -07:00
Austen McDonald 05d14c8ba3 Refactor handleEvent() to pass in the Game always. 2016-08-02 21:28:19 +00:00
Austen McDonald d82f3fc588 Change hook for setting up viewpoint to handle all actions, data and attachments 2016-08-02 20:11:36 +00:00
Austen McDonald 6c8c12758f Add additional tests for Game and fix bugs 2016-08-01 10:04:35 +00:00
Austen McDonald a2fb425632 Fix bugs in Game and add some tests 2016-08-01 06:58:00 +00:00