private void GenerationMap() { entity.newGeneration(); //Actualize the position of the entity entity.actualizePositionEntity(); //Update the fieldOfView for the start entity.updateFieldOfViewEntity(); //Update the fieldOfView for the start entity.updateMentalMapEntity(); //Destroy the mesh of the last frame entity.fogHandler.getFogMeshHandler().DestructMesh(); //Create the starting fog of the new map entity.fogHandler.CreateFog(entity.getMentalMap()); }