Make ProfilePage more generic

This commit is contained in:
nea
2023-06-02 00:27:53 +02:00
parent 7c60db4fbf
commit b61476608e
3 changed files with 20 additions and 12 deletions

View File

@@ -1,7 +1,11 @@
package moe.nea.firmament.gui.profileviewer
import io.github.cottonmc.cotton.gui.widget.WWidget
import io.github.cottonmc.cotton.gui.widget.icon.Icon
import net.minecraft.text.Text
interface ProfilePage {
fun getElements(profileViewer: ProfileViewer): WWidget
val icon: Icon
val text: Text
}