still WIP inventory impl, held item impl

Former-commit-id: 9468cfae21ff09c3dd30352a849910364e01d780
Former-commit-id: 50247ccebf3284f739877a1d6c6d8574449a9824
This commit is contained in:
Song Minjae
2016-12-14 00:28:42 +09:00
parent 22bb5d83e1
commit 1dd156d172
22 changed files with 126 additions and 116 deletions

View File

@@ -26,7 +26,7 @@ class DroppedItem(private val item: InventoryItem) : ActorWithBody() {
}
override fun update(gc: GameContainer, delta: Int) {
item.worldActorEffect(gc, delta)
item.effectWhenTakenOut(gc, delta)
}
override fun drawBody(gc: GameContainer, g: Graphics) {