mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 14:04:05 +09:00
Former-commit-id: 0bb85999176d89956398bbcc24e1b33cacd3e87c Former-commit-id: 0ef0c1ac9b88f8fe42a7439fee69a8d4792be96a
20 lines
420 B
Kotlin
20 lines
420 B
Kotlin
package net.torvald.terrarum.gameactors
|
|
|
|
import org.newdawn.slick.GameContainer
|
|
import org.newdawn.slick.Graphics
|
|
|
|
/**
|
|
* Created by minjaesong on 16-03-14.
|
|
*/
|
|
interface Visible {
|
|
val hitbox: Hitbox
|
|
|
|
fun drawBody(gc: GameContainer, g: Graphics)
|
|
|
|
fun updateBodySprite(gc: GameContainer, delta: Int)
|
|
|
|
fun drawGlow(gc: GameContainer, g: Graphics)
|
|
|
|
fun updateGlowSprite(gc: GameContainer, delta: Int)
|
|
}
|