Procedural Learning In Virtual Environments And Serious Games