add usable key
parent
1b00a5fc0f
commit
d9081f5d83
Binary file not shown.
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 187 KiB |
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,12 @@
|
||||
package com.last.commit.map
|
||||
|
||||
import com.badlogic.gdx.math.Rectangle
|
||||
import GameState
|
||||
import com.badlogic.gdx.math.Rectangle
|
||||
|
||||
interface Interactable {
|
||||
fun getCollider(): Rectangle
|
||||
|
||||
fun interact(otherCollider: Rectangle, state: GameState)
|
||||
|
||||
fun canInteract(state: GameState): Boolean
|
||||
}
|
Loading…
Reference in New Issue