mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-06 21:27:37 +00:00
Starting a bomb system
This commit is contained in:
20
sources/System/Bomb/BombSystem.cpp
Normal file
20
sources/System/Bomb/BombSystem.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Created by Zoe Roux on 6/9/21.
|
||||
//
|
||||
|
||||
#include "BombSystem.hpp"
|
||||
|
||||
namespace BBM
|
||||
{
|
||||
BombSystem::BombSystem(WAL::Wal &wal)
|
||||
: System(wal)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void BombSystem::onUpdate(WAL::ViewEntity<BasicBombComponent> &entity, std::chrono::nanoseconds dtime)
|
||||
{
|
||||
// if (entity.get<BasicBombComponent>().)
|
||||
// TODO set ignoreOwner to false once the player moved out of the block.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user