hit -> immune -> hit
reset movement after hit
refactoring: spawnObstacles function
level api: spawnObjects, spawnMonsters