mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-23 23:07:54 +00:00
Resetting the velocity on death
This commit is contained in:
@@ -20,4 +20,12 @@ namespace BBM
|
||||
: WAL::Component(entity),
|
||||
disabled(isDisabled)
|
||||
{}
|
||||
|
||||
void ControllableComponent::disable()
|
||||
{
|
||||
this->disabled = true;
|
||||
this->pause = false;
|
||||
this->bomb = false;
|
||||
this->move = Vector2f();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user