package com.example.cmpt362_group30_maze_game.game

import androidx.lifecycle.ViewModel
import kotlinx.coroutines.Job

class GameLogicViewModel: ViewModel() {
    // Keeps track of the coroutine running the game loop
    var gameLoopJob: Job? = null

    // Keeps track of coroutine running the sonar audio loop
    var sonarLoopJob : Job? = null

    // Keeps track of coroutine running the exit vibration loop
    var exitVibrationLoopJob : Job? = null

    // Pauses the game logic when the pause menu is open
    var isPaused = false

    // Keep track of whether the game had started
    var gameStarted = false

    // Keeps track of the number of seconds the player takes
    var secondsElapsed = 0
}