fixed init(), added a comment
clean up patch: added onTarget() and onDead() functions, removed the finished var and replaced it with playerCube.dead were needed