parameterized spawner movement using enum