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

@@ -12,11 +12,8 @@ namespace BBM
{
float ControllableSystem::speed = .25f;
ControllableSystem::ControllableSystem()
: WAL::System({
typeid(ControllableComponent),
typeid(MovableComponent)
})
ControllableSystem::ControllableSystem(WAL::Wal &wal)
: System(wal)
{}
void ControllableSystem::onFixedUpdate(WAL::Entity &entity)