tooltipmanager

This commit is contained in:
minjaesong
2024-10-11 15:02:11 +09:00
parent 048777a845
commit 60e54c2bc0
29 changed files with 118 additions and 238 deletions

View File

@@ -3,6 +3,7 @@ package net.torvald.terrarum.ui
import com.badlogic.gdx.graphics.OrthographicCamera
import com.badlogic.gdx.graphics.g2d.SpriteBatch
import com.badlogic.gdx.utils.Disposable
import net.torvald.terrarum.TooltipListener
import net.torvald.terrarum.gamecontroller.TerrarumKeyboardEvent
/**
@@ -28,7 +29,7 @@ abstract class UITemplate(val parent: UICanvas) : UIItemisable() {
/**
* Created by minjaesong on 2024-01-29.
*/
abstract class UIItemisable : Disposable {
abstract class UIItemisable : TooltipListener(), Disposable {
abstract fun update(delta: Float)
abstract fun render(frameDelta: Float, batch: SpriteBatch, camera: OrthographicCamera)
open fun show() {}