All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.ro.dragossusi.sevens.ai.brain.AiBrain.kt Maven / Gradle / Ivy

package ro.dragossusi.sevens.ai.brain

import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import ro.dragossusi.sevens.game.listener.PlayerListener
import kotlin.coroutines.CoroutineContext

abstract class AiBrain(
    dispather: CoroutineDispatcher
) : PlayerListener, CoroutineScope {

    private val job = Job()

    final override val coroutineContext: CoroutineContext = dispather + job

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy