Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mimoguz committed Apr 6, 2021
1 parent 4ac80f5 commit 489ab5a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/src/ogz/tripeaks/Util.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ object Util {
return sprite
}

inline fun setFaceSprite(assets: AssetManager, sprite: Sprite, card: Card, useDarkTheme: Boolean = false): Sprite =
setFaceSprite(assets, sprite, card.suit, card.rank, useDarkTheme)

fun setFaceSprite(assets: AssetManager, sprite: Sprite, suit: Suit, rank: Rank, useDarkTheme: Boolean = false): Sprite {
val key = (if (useDarkTheme) Const.SPRITE_DARK_PREFIX else Const.SPRITE_LIGHT_PREFIX) + getSpriteName(suit, rank)
setRegion(assets, sprite, key)
Expand Down

0 comments on commit 489ab5a

Please sign in to comment.