Austen McDonald
385e57c427
Make module:register command work
2016-06-04 12:01:54 -07:00
Austen McDonald
a1bd0d55c7
Add completion message to module:validate command
2016-06-04 12:01:54 -07:00
Austen McDonald
c0a9a623b4
Add helpful messaging to ClassNotFoundExceptions in EventManager
2016-06-04 12:01:54 -07:00
Austen McDonald
873fd5603e
Search for the right autoloader in daenerys
2016-06-04 12:01:54 -07:00
Austen McDonald
c30ceb0413
Add module:register command to daenerys
2016-06-04 12:01:54 -07:00
Austen McDonald
70bed16884
Add getPackageForLibrary to ComposerManager
2016-06-04 12:01:54 -07:00
Austen McDonald
a73f4036a3
Add module:validate command to daenerys tool.
2016-06-04 12:01:54 -07:00
Austen McDonald
aca3505aa1
Add getModuleManager() to Game
2016-06-04 12:01:54 -07:00
Austen McDonald
40383849b9
Oops, need this for ModuleManager::validate command.
2016-06-04 12:01:54 -07:00
Austen McDonald
e35ae7dac1
Add additional tests for ModuleManager::validate
2016-06-04 12:01:54 -07:00
Austen McDonald
81d61f237d
Adding validate method to ModuleManager with one successful test. More to follow.
2016-06-04 12:01:54 -07:00
Austen McDonald
ed4832e31d
Change ModuleManager to no longer have static methods
2016-06-04 12:01:54 -07:00
Austen McDonald
c25556fed3
Change ModuleManager to take in a Game as a dependency provider
2016-06-04 12:01:54 -07:00
Austen McDonald
3a70159557
Skeleton for a ComposerManager, to manage operations on the Composer config
2016-06-04 12:01:54 -07:00
Austen McDonald
86426aacdb
Store the module name along with event subscriptions
2016-06-04 12:01:54 -07:00
Austen McDonald
0d0458c87b
Fix up tests with proper mocking of abstract package interface.
2016-06-04 12:01:54 -07:00
Austen McDonald
91ac1ffd60
Skeleton of daenerys console application.
2016-06-04 12:01:54 -07:00
Basilius Sauter
fec867d83f
Merge branch 'cleanup/soft-deletable-fragments' of https://github.com/lotgd/core into cleanup/soft-deletable-fragments
2016-05-26 08:15:41 +02:00
Basilius Sauter
6bef5dd363
Merge branch 'master' of https://github.com/lotgd/core into cleanup/soft-deletable-fragments
2016-05-26 08:14:51 +02:00
Basilius Sauter
931d60b907
Removes uneeded filters from code base
2016-05-26 08:14:23 +02:00
Austen McDonald
44d42b6569
Further implementation docs
2016-05-25 21:34:07 -07:00
Austen McDonald
732efb9719
Fix typo in dev setup formatting
2016-05-25 21:34:04 -07:00
Austen McDonald
c9e69704f7
Add information about contributors and contributing
2016-05-25 21:33:45 -07:00
Basilius Sauter
a33ec55566
Removes uneeded filters from code base
2016-05-26 00:06:31 +02:00
Basilius Sauter
14b38b57db
Merge pull request #21 from lotgd/feature/fight
...
Adds a basic battle system
2016-05-25 23:40:03 +02:00
Basilius Sauter
e7c28529d1
Merge branch 'feature/fight' of https://github.com/lotgd/core into feature/fight
...
Merge pull request #21
2016-05-25 22:16:09 +02:00
Basilius Sauter
e1652e4ff7
Merge branch 'feature/fight' of https://github.com/lotgd/core into feature/fight
2016-05-25 22:14:35 +02:00
Basilius Sauter
5fd7a0a9df
Updated BattleClass to use BattleEvents
...
Implemented BattleEvents from @austenmc's old branch.
Added an empty Buff-Model as well, as well as a BuffList.
@ToDo: Add events, and add buff calculations to the battle class.
This PR will, however, only introduce the basic battle class, buffs will
come in another patch.
2016-05-25 22:13:19 +02:00
Basilius Sauter
d69bf29607
Implement Buff Model
2016-05-25 22:13:18 +02:00
Basilius Sauter
00f7d2ca5d
Adds additional tests for exceptions
2016-05-25 22:13:17 +02:00
Basilius Sauter
2609d67e38
Added more methods to the Battle class and tests
...
If a battle is over or not can now be tested using this->isOver(). If the
battle is over, battle->getWinner() can be used to get the winner of this
fight, battle->getLooser() for the looser.
2016-05-25 22:13:16 +02:00
Basilius Sauter
38068dd0a5
Completed basic battle system.
...
The class Battle takes two participants (player and monster) that both
need to implement the FighterInterface. Right now, rounds are
completed by the fightNRounds method.
Since all enemies in the old code follow the same default scaling,
monsters and masters use a AutoScaleFighter trait for now.
2016-05-25 22:13:15 +02:00
Basilius Sauter
80dcfe9972
Adds various needed classes for the battle system
2016-05-25 22:13:14 +02:00
Basilius Sauter
e04d963633
Updated BattleClass to use BattleEvents
...
Implemented BattleEvents from @austenmc's old branch.
Added an empty Buff-Model as well, as well as a BuffList.
@ToDo: Add events, and add buff calculations to the battle class.
This PR will, however, only introduce the basic battle class, buffs will
come in another patch.
2016-05-25 11:30:57 +02:00
Austen McDonald
d1ed6bfe77
A couple changes that make first time setup easier
...
Merge pull request #22 from nekosune/patch-1
2016-05-24 09:22:31 -07:00
Katrina Swales
2229d3e07d
A couple changes that make first time setup easier
2016-05-24 16:35:53 +01:00
Basilius Sauter
fb2c764e15
Implement Buff Model
2016-05-24 17:03:30 +02:00
Basilius Sauter
4e22b83dda
Adds additional tests for exceptions
2016-05-23 18:28:30 +02:00
Basilius Sauter
3e2ea99b1f
Added more methods to the Battle class and tests
...
If a battle is over or not can now be tested using this->isOver(). If the
battle is over, battle->getWinner() can be used to get the winner of this
fight, battle->getLooser() for the looser.
2016-05-23 18:19:01 +02:00
Basilius Sauter
a8098af488
Completed basic battle system.
...
The class Battle takes two participants (player and monster) that both
need to implement the FighterInterface. Right now, rounds are
completed by the fightNRounds method.
Since all enemies in the old code follow the same default scaling,
monsters and masters use a AutoScaleFighter trait for now.
2016-05-23 16:29:15 +02:00
Basilius Sauter
820272ed93
Merge remote-tracking branch 'origin/master' into feature/fight
2016-05-23 14:11:38 +02:00
Basilius Sauter
e7892db46b
Adds various needed classes for the battle system
2016-05-23 14:07:04 +02:00
Austen McDonald
090beed91a
Fix reference to models directory in Boostrap.
2016-05-21 21:43:33 -07:00
Austen McDonald
e2c97d21f9
Add composer/composer as dependency (and pedantically reorder some deps).
2016-05-21 21:42:52 -07:00
Austen McDonald
78695eb52d
Remove extra cache clear statement in tests.
2016-05-21 13:46:01 -07:00
Austen McDonald
8251e22784
Change configuration to use environment variables instead of globals.
2016-05-21 13:43:36 -07:00
Austen McDonald
01cc817913
Update composer.json to include metadata (and update installed versions)
2016-05-20 21:32:26 -07:00
Austen McDonald
ca98a7337a
Rename Game and Bootsrap methods to address feedback
2016-05-19 22:05:59 -07:00
Austen McDonald
c60794511f
Add Bootstrap as (at least temporary) way to construct a game.
2016-05-15 14:50:30 -07:00
Austen McDonald
5cce8f5a69
Add constructor for Game object.
2016-05-15 14:48:19 -07:00