14 lines
284 B
C++
14 lines
284 B
C++
#include <td/simulation/system/EntityMove.h>
|
|
|
|
namespace td {
|
|
namespace sim {
|
|
|
|
void EntityMove::Tick(const game::World& a_World, WorldSnapshot& a_State, FpFloat a_Delta) {
|
|
for (auto& mob : a_State.m_Mobs) {
|
|
mob->m_Position.x += a_Delta;
|
|
}
|
|
}
|
|
|
|
} // namespace sim
|
|
} // namespace td
|