mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 21:14:04 +09:00
GameItem item image Pixmap
This commit is contained in:
@@ -70,6 +70,7 @@ fun getThrowPosAndVector(actor: ActorWithBody): Pair<Vector2, Vector2> {
|
||||
*/
|
||||
class ItemCherryBomb(originalID: ItemID) : ItemThrowable(originalID, "net.torvald.terrarum.modulebasegame.gameactors.ActorCherryBomb") {
|
||||
override var originalName = "ITEM_CHERRY_BOMB"
|
||||
override val itemImage: TextureRegion
|
||||
get() = CommonResourcePool.getAsItemSheet("basegame.items").get(0,13)
|
||||
init {
|
||||
itemImage = CommonResourcePool.getAsItemSheet("basegame.items").get(0,13)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user