mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-11 17:10:24 -07:00
Introduce XPGlobesPlugin
This commit is contained in:
parent
7957cdc8a6
commit
be1aac7fe7
4 changed files with 288 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
package XPGlobesPlugin
|
||||
|
||||
import java.awt.Color
|
||||
|
||||
object Constants {
|
||||
const val SKILL_COUNT = 24
|
||||
const val MAX_LEVEL = 99
|
||||
const val INVALID_LEVEL = -1
|
||||
const val INVALID_XP = -1
|
||||
const val GLOBE_LIFETIME = 5000L // 5 seconds
|
||||
const val GLOBES_Y_OFFSET = 48 // y-offset in screen space where globes are drawn
|
||||
val GLOBE_BKG_COLOR: Color = Color.GRAY
|
||||
const val GLOBE_BKG_SIZE = 33 // Size of the globe background
|
||||
val GLOBE_BORDER_COLOR: Color = Color.BLACK
|
||||
const val GLOBE_BORDER_WIDTH = 1 // Width of the globe border
|
||||
val GLOBE_XP_ARC_COLOR: Color = Color.YELLOW
|
||||
val GLOBE_XP_ARC_LEVEL_UP_COLOR: Color = Color.BLUE
|
||||
const val GLOBE_XP_ARC_WIDTH = 3 // Width of the Xp arc
|
||||
const val MAX_GLOBES = 6 // maximum number of globes we will draw on resizable clients
|
||||
const val MAX_GLOBES_SD = 3 // maximum number of globes we will draw on fixed clients
|
||||
const val GLOBE_PADDING = 3 // horizontal padding between globes
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue