Reworking systems

This commit is contained in:
Zoe Roux
2021-06-04 00:50:38 +02:00
parent 4f14d380bf
commit 306f07972d
22 changed files with 129 additions and 177 deletions

View File

@@ -14,11 +14,8 @@ using Keyboard = RAY::Controller::Keyboard;
namespace BBM
{
KeyboardSystem::KeyboardSystem()
: WAL::System({
typeid(KeyboardComponent),
typeid(ControllableComponent)
})
KeyboardSystem::KeyboardSystem(WAL::Wal &wal)
: System(wal)
{}
void KeyboardSystem::onFixedUpdate(WAL::Entity &entity)