1 package ru.deadsoftware.cavedroid.game.render
3 import com.badlogic.gdx.graphics.g2d.SpriteBatch
4 import com.badlogic.gdx.graphics.glutils.ShapeRenderer
5 import com.badlogic.gdx.math.Rectangle
7 interface IGameRenderer {
9 val renderLayer: Int
11 /**
12 * When called, [spriteBatch] is beginned!
13 */
14 fun draw(
15 spriteBatch: SpriteBatch,
16 shapeRenderer: ShapeRenderer,
17 viewport: Rectangle,
18 delta: Float
19 )
20 }