457 Commits

Author SHA1 Message Date
Katrina Knight fba8916a39 Fixed php-cs-fixer config file 2021-09-13 21:35:33 +02:00
Katrina Knight 58757b4da7 Added a linting workflow 2021-09-13 21:33:43 +02:00
Basilius Sauter c38647d3e5 Update documentation.yml 2021-09-08 22:36:12 +02:00
Vassyli 1c30183ce3 Adding generated Documentation 2021-09-08 22:36:12 +02:00
Basilius Sauter 355c272848 Update documentation.yml
Changes documentation generation to act on pull requests instead.
2021-09-08 22:36:12 +02:00
Katrina Knight 8c135fb29c Added Automatic PHPDoc generation 2021-09-06 07:10:42 +02:00
Katrina Knight 5e6f132131 Fixed formatting issues as per comment 2021-09-06 07:04:11 +02:00
Katrina Knight 83c3d697c9 Added test for correct Semantic Versioning as per #34 2021-09-06 07:04:11 +02:00
Vassyli 5718f57c91 Twig accepts abs filter, added 2 more tests. 2021-08-28 12:46:19 +02:00
dependabot[bot] db8958a33b Bump composer/composer from 2.0.12 to 2.0.13
Bumps [composer/composer](https://github.com/composer/composer) from 2.0.12 to 2.0.13.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/composer/composer/compare/2.0.12...2.0.13)

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 17:16:45 +02:00
Vassyli 127abf136e Fixes #164 by introducing a PostLoad lifecycle callback for the viewpoint entity. 2021-04-13 19:43:28 +02:00
Vassyli e29b45ce39 TwigSceneRenderer uses try-catch for publishing events. Fixes #162. 2021-04-13 19:43:28 +02:00
Vassyli a9dae2e958 game->getViewpoint() now sets the TwigSceneRenderer. 2021-04-13 19:43:28 +02:00
Vassyli 1e900d8ec7 Actions have now an additional variable 'action' available, which can access the action's parameters. Render accepts additional template values. v0.6.0-alpha.6 2021-04-08 17:50:33 +02:00
Vassyli 30b9d981fa Added comment and a test for viewpoint data fields. 2021-04-08 17:50:33 +02:00
Vassyli 9019caaafc Viewpoint propagates itself to Actions and ActionGroups. 2021-04-08 17:50:33 +02:00
Vassyli 31eca85df4 Fix: Adjusted tests. v0.6.0-alpha.5 2021-03-01 20:54:30 +01:00
Vassyli 8d43b3d2ce Fix: renamed two events from character-config to scene-config. 2021-03-01 20:54:30 +01:00
Vassyli a9e5647fe0 Adds the missing initialisation of the Scene.properties collection with corresponding tests. 2021-02-26 14:32:59 +01:00
Vassyli 25ccbd8974 Adds default value to type Scene.properties. 2021-02-25 16:46:42 +01:00
Vassyli 2e9f0dc564 Sets cli column width to 120 to standardise testing environment v0.6.0-alpha.4 2021-02-16 22:13:52 +01:00
Vassyli 03fde83fc1 Fixes the actual command to import the correct commands. 2021-02-16 22:13:52 +01:00
Vassyli 669085e65d Added the possibilities to set character and scene settings over cli, with module hooks. 2021-02-16 22:13:52 +01:00
Vassyli f72adb1a38 Adds tests for scene commands. 2021-02-16 22:13:52 +01:00
Vassyli 0292a66252 Adds new commands to manage modules and corresponding tests. 2021-02-16 22:13:52 +01:00
Vassyli eea72f848b Adds tests for all character commands. 2021-02-16 22:13:52 +01:00
Vassyli c2a139d192 Adds a new CharacterEditCommand including a test. 2021-02-16 22:13:52 +01:00
Vassyli d83e437b4a Removed the same wrong assumption from LotGDTestCase, too. v0.6.0-alpha.3 2021-02-04 16:37:07 +01:00
Vassyli 99d554e5d7 Fixes a bug in HasAction->searchAction that caused actions not to be found if no groupTitle was given. 2021-02-04 16:37:07 +01:00
Vassyli 75dd7494c3 Fixes a bug in Action->setTitle() where a return type was expected instead of void. 2021-02-04 12:03:43 +01:00
Vassyli f7504bbb60 Adds a test and the corresponding bugfix. v0.6.0-alpha.2 2021-02-03 20:15:00 +01:00
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