using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class GameData
{
    public float playerPosX;
    public float playerPosY;
    public float playerPosZ;
    
    public float playerRotX;
    public float playerRotY;
    public float playerRotZ;
    
    public int orbsCollected;

    public float seed;
    
    public List<GameObject> orbs;
    public List<GameObject> enviroments;
    
    public bool isGameActive;
    public float timeRemaining = 120;

    public float Volume;
    


    public GameData(GameManager gameManager)
    {
        playerPosX = gameManager.playerPosX;
        playerPosY = gameManager.playerPosY;
        playerPosZ = gameManager.playerPosZ;
        playerRotX = gameManager.playerRotX;
        playerRotY = gameManager.playerRotY;
        playerRotZ = gameManager.playerRotZ;
        orbsCollected = gameManager.orbsCollected;
        seed = gameManager.seed;
        isGameActive = gameManager.isGameActive;
        timeRemaining = gameManager.timeRemaining;
        Volume = gameManager.Volume;
        orbs = gameManager.orbs;
        enviroments = gameManager.enviroments;
    }
        
}
