added active flag (to disable enemies/player)