Commit Graph

302 Commits

Author SHA1 Message Date
Vassyli a576bfd2a0 Moved console commands to subdirectories. 2021-01-26 21:19:12 +01:00
Vassyli aa5b32c03d Fixes typed property to pass tests. 2021-01-18 10:24:17 +01:00
Vassyli c2aaf025f6 Adds a method AddAttachment to the viewpoint. Small changes. 2021-01-18 10:24:17 +01:00
Vassyli 9b60cc0ebb Connects the SceneRenderer to the Game bootstrap process, and parses Scenes in Viewpoint->changeFromScene(). 2021-01-16 18:55:49 +01:00
Vassyli eca1343b5f Adds events to TwigSceneRenderer, and tests to show that they correctly overwrite the data. 2021-01-16 18:55:49 +01:00
Vassyli 1fb2eb023e Adds SceneRenderer class based on twig to convert some logic and variables from Scenes, allowing them to be more flexible. 2021-01-16 18:55:49 +01:00
Vassyli 96feb12fb5 Adds the ability to set properties on Scene objects. 2021-01-14 20:52:19 +01:00
Vassyli 512d875609 Updates some documentation in the Game object. 2021-01-14 20:52:19 +01:00
Vassyli 0a2313b5e5 Fixes a bug where phpunit marked tests only running our custom assertions as risky. 2021-01-13 19:37:08 +01:00
Vassyli c4634b90b7 Adds a new common LotGDTestCase providing additional assertions. Adds a HasAction constraint, too. 2021-01-08 20:00:25 +01:00
Vassyli 29e5ced0f9 Adds a test for null-template scenes. 2020-12-28 13:40:19 +01:00
Vassyli c7dbf33f6e Adds missing return in CharacterResetViewpointCommand 2020-12-26 15:22:57 +01:00
Vassyli d4124a71ef Adds additional typehints to LotGD\Core\Tools\* 2020-12-24 12:47:28 +01:00
Vassyli 28c12a47f1 Collection of fixes to make tests run. 2020-12-24 12:36:26 +01:00
Vassyli 709b96ea52 Adds additional typehints to LotGD\Core\Events\* 2020-12-24 12:20:56 +01:00
Vassyli 363c4678d3 Added typehints do \LotGD\Core\Doctrine\* 2020-12-24 10:00:40 +01:00
Vassyli d8b8fb69d9 Adjusted typehints in LotGD\Core\PermissionManager 2020-12-24 10:00:39 +01:00
Vassyli 0a20c8a968 Adjusted typehints in LotGD\Core\LibraryConfigurationManager 2020-12-24 10:00:37 +01:00
Vassyli f051d72aea Adjusted typehints in LotGD\Core\LibraryConfiguration 2020-12-24 10:00:35 +01:00
Vassyli af17f434d4 Adjusted typehints in LotGD\Core\GameBuilder 2020-12-24 10:00:33 +01:00
Vassyli 2680a41cee Adjusted typehints in LotGD\Core\EventManager 2020-12-24 10:00:32 +01:00
Vassyli c7d91230bd Adjusted typehints in LotGD\Core\DiceBag 2020-12-24 10:00:30 +01:00
Vassyli 541748a168 Adjusted typehints in LotGD\Core\Configuration 2020-12-24 10:00:29 +01:00
Vassyli 42e3f22726 Adjusted typehints in LotGD\Core\ComposerManager 2020-12-24 10:00:27 +01:00
Vassyli 3c64492cde Adjusted typehints in LotGD\Core\BuffList 2020-12-23 16:38:28 +01:00
Vassyli 18ec30ede5 Added default values to Character and TimeKeeper in LotGD\Core\Game to prevent access of uninitialized properties. 2020-12-23 16:29:48 +01:00
Vassyli 4e35fbd6b3 Adjusted typehints in LotGD\Core\Battle 2020-12-23 16:09:48 +01:00
Vassyli 32305238d9 Added typehints to LotGD\Core\Attachment 2020-12-23 15:59:11 +01:00
Vassyli 13082f7b9d Added typehints to LotGD\Core\ActionGroup 2020-12-23 15:58:05 +01:00
Vassyli 272910c3a3 Updated typehints in LotGD\Core\Action 2020-12-23 15:55:58 +01:00
Vassyli 33a7812abe Adds constructor property promotion to Game.php 2020-12-23 15:55:58 +01:00
Vassyli a086fe4b9b Adds property TypeHints to Game 2020-12-23 15:55:51 +01:00
Vassyli 81a6edc074 Merge branch 'master' of https://github.com/lotgd/core into php8-compability 2020-12-23 12:44:41 +01:00
Vassyli f3fee8cc7d Adds a to each console command->execute() 2020-12-21 20:30:05 +01:00
Vassyli 90f187dbf2 Doctrine: Fixed class reference to ClassMetadata 2020-12-21 19:21:25 +01:00
Vassyli 1a6079b270 Monolog: Fixed logging calls from addDebug() to debug() 2020-12-21 18:40:31 +01:00
Basilius Sauter f6df590cd6 Sets SceneTemplate->userAssignable to true by default. 2019-06-29 12:41:56 +02:00
Basilius Sauter 7fe81a9c5b Fixed a bug in SceneTemplate::__construct that prevented any legal classes to be used. 2019-06-29 12:24:16 +02:00
Basilius Sauter 3ecb7f8e95 Changed a few typehints. 2019-06-27 15:05:34 +02:00
Basilius Sauter 0fcc6dc8b7 Automatic PHP CS Fixer run. 2019-06-27 14:39:03 +02:00
Basilius Sauter 2376696101 Fixed errors related to rebasing. 2019-06-27 14:39:03 +02:00
Basilius Sauter 1c53604244 Adjusted tests. 2019-06-27 14:39:03 +02:00
Basilius Sauter c6ecab6ce9 Adds SceneTemplate model and connects it to SceneBasics trait. 2019-06-27 14:39:03 +02:00
Basilius Sauter e74dcbdfde Automatic changes from 'php cs fixer' 2019-06-25 20:42:44 +02:00
Basilius Sauter 8612a53538 Replaces style checker with PHP CS Fix 2019-06-25 20:23:22 +02:00
Basilius Sauter e8f2ea56bc Upgrades successfully to PHPUnit 7, removed DBUnit support and integrated custom testing. 2019-06-16 17:54:00 +02:00
Basilius Sauter 14d1c9d582 Adds method getConnectionGroup to Scene model 2019-04-23 14:40:54 +02:00
Basilius Sauter 7725c7faed Adds methods setTitle and setName to SceneConnectionGroup 2019-04-23 14:35:04 +02:00
Basilius Sauter 4ca81a3789 Fixed some class documentation. 2019-04-05 13:19:33 +02:00
Basilius Sauter 353c4251c4 Allows the modulemanager to return null instead of the ModuleModel 2019-04-03 17:25:21 +02:00