package org.mrlem.happycows.domain

import org.mrlem.happycows.data.repository.GameRepositoryImpl
import org.mrlem.happycows.data.repository.SessionRepositoryImpl
import org.mrlem.happycows.domain.repository.GameRepository
import org.mrlem.happycows.domain.repository.SessionRepository

/**
 * Facade for all domain objects.
 *
 * This really is a poor man's dependency injection.
 *
 * @author Sébastien Guillemin <seb@mrlem.org>
 */
class Domain {

    companion object {
        // repositories
        val sessionRepository: SessionRepository = SessionRepositoryImpl()
        val gameRepository: GameRepository = GameRepositoryImpl()
    }

}
