Fixed indentation
This commit is contained in:
@@ -5,20 +5,16 @@ void PlayerSystem::Update(World * world, ComponentWrapper & player, double dt)
|
|||||||
{
|
{
|
||||||
if (input.Forward) {
|
if (input.Forward) {
|
||||||
m_Direction.z = -1;
|
m_Direction.z = -1;
|
||||||
}
|
} else if (input.Back) {
|
||||||
else if (input.Back) {
|
|
||||||
m_Direction.z = 1;
|
m_Direction.z = 1;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
m_Direction.z = 0;
|
m_Direction.z = 0;
|
||||||
}
|
}
|
||||||
if (input.Left) {
|
if (input.Left) {
|
||||||
m_Direction.x = -1;
|
m_Direction.x = -1;
|
||||||
}
|
} else if (input.Right) {
|
||||||
else if (input.Right) {
|
|
||||||
m_Direction.x = 1;
|
m_Direction.x = 1;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
m_Direction.x = 0;
|
m_Direction.x = 0;
|
||||||
}
|
}
|
||||||
m_EventBroker->Process<PlayerSystem>();
|
m_EventBroker->Process<PlayerSystem>();
|
||||||
|
|||||||
Reference in New Issue
Block a user