Commit Graph

426 Commits

Author SHA1 Message Date
Vassyli 60a3a8bd2b Adds a trait 'UserAssignable' to mark models as user-assignable. Refactored from SceneTemplates, and applied to SceneAttachments, too. v0.6.0-alpha 2021-01-29 20:16:51 +01:00
Vassyli 147692d722 Removes the ability of attachments to add actions. This should be done by modules via scene templates instead. 2021-01-29 20:16:51 +01:00
Vassyli 454248ed0f Game loop now creates attachment instances from SceneAttachments. 2021-01-29 20:16:51 +01:00
Vassyli 27347d0677 Changed SceneAttachment to require the class to implement AttachmentInterface. 2021-01-29 20:16:51 +01:00
Vassyli 69434c7bbf Adds an AttachmentInterface and adjusted the abstract class Attachment. 2021-01-29 20:16:51 +01:00
Vassyli 2a3a3e7bc2 Introduces a SceneAttachment model for registering attachments. 2021-01-29 20:16:51 +01:00
Vassyli 47693f6127 Adds commands to add, show and remove characters. 2021-01-26 21:19:12 +01:00
Vassyli e3534ea88d Adds logs to scene commands. 2021-01-26 21:19:12 +01:00
Vassyli 5dbe8fdca3 Regression fix: Adds composer requirement for d11wtq/boris back in. 2021-01-26 21:19:12 +01:00
Vassyli 31387c1840 Adds a command to remove scenes. 2021-01-26 21:19:12 +01:00
Vassyli dfd39cd1f8 Adds a feature to scene:show command that shows the corresponding group name in the connections. 2021-01-26 21:19:12 +01:00
Vassyli f25bab7af8 Adds commands to add and remove scene connection groups. 2021-01-26 21:19:12 +01:00
Vassyli c0ed663ef4 Adds the possibility to disconnect two scenes. 2021-01-26 21:19:12 +01:00
Vassyli b3b1c4af0a Adds a SceneConnect command to connect two scenes. 2021-01-26 21:19:12 +01:00
Vassyli 2153df5cc8 Small fix to the SceneAdd command. 2021-01-26 21:19:12 +01:00
Vassyli 13dfab2321 Adds improvements to the SceneTemplate object, and integrates them into the console command. 2021-01-26 21:19:12 +01:00
Vassyli 29ad369c88 Adds some additional commands to denerys cli. 2021-01-26 21:19:12 +01:00
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 1a0b6dbe3e Adds tests to check scene properties. 2021-01-14 20:52:19 +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 6325b8bd36 Adds a git add command to the update package workflow. 2021-01-04 19:40:12 +01:00
Vassyli dd074a8bea Fixed a bug that used a misspelled stdout stream for StreamHandler 2021-01-04 19:14:23 +01:00
Vassyli fdb53972d2 Removed travis configuration file 2020-12-31 11:37:50 +01:00
Vassyli ad3ea14bb2 Exchanged the travis badge with a github action badge. 2020-12-31 11:34:08 +01:00
Vassyli bb1ca987b5 Renames test-runner to reflect tests 2020-12-31 11:30:07 +01:00
Vassyli 57b8045c1a Updated composer.json to pass composer validate. 2020-12-31 11:15:27 +01:00
Vassyli f658b421f6 Added a new testrunner github workflow, and changed the update-package to also act on releases. 2020-12-31 10:52:07 +01:00
Vassyli 7ab55c1cb0 Bugfix 2020-12-30 18:11:20 +01:00
Vassyli 05d72a11bb Bugfix 2020-12-30 18:05:05 +01:00
Vassyli d006aa3ded Bugfix 2020-12-30 17:59:05 +01:00
Vassyli 147d449a27 Adds additional credentials for pushing 2020-12-30 17:55:08 +01:00
Vassyli c18cdef3ff Fixes the commit-changes part which wrongly called composer. 2020-12-30 17:34:09 +01:00
Vassyli 3eb538145e Adds github token to composer config. 2020-12-30 17:29:29 +01:00
Vassyli 696a5f3305 Adds authentication steps to github workflow 2020-12-30 17:23:15 +01:00
Vassyli 765b65a9d2 Sets PHP version to 7.4 in worker 2020-12-30 15:07:12 +01:00
Vassyli 96afd4b87e Updated workflow 2020-12-30 15:03:15 +01:00
Vassyli ea6be63bb3 Adds a test github workflow. 2020-12-30 14:58:39 +01:00
Vassyli 126fdee80e Adds additional methods to ModelTestCase for modules to refine their tests. 2020-12-30 14:28:53 +01:00
Vassyli 81c72ca91a Adds an assertDataWasKeptIntact method to ModelTestCase in lieu of the DBUnit features. 2020-12-30 14:11:07 +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