mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +09:00
vital metre prototype
Former-commit-id: c3f95f7ef280eabc5516ad6885386cb89d6ee35d Former-commit-id: ab9cd5bd8daf27d37828a5ca4a737a723d76fa1a
This commit is contained in:
@@ -175,6 +175,14 @@ class StateInGame : BasicGameState() {
|
||||
|
||||
// audio test
|
||||
//AudioResourceLibrary.ambientsWoods[0].play()
|
||||
|
||||
|
||||
|
||||
val vitalmetre = UIHandler(UIVitalMetre(player, { 100f }, { 100f }, Color(255, 182, 0)))
|
||||
//vitalmetre.setAsAlwaysVisible()
|
||||
vitalmetre.isVisible = true
|
||||
vitalmetre.UI.handler = vitalmetre
|
||||
uiContainer.add(vitalmetre)
|
||||
}
|
||||
|
||||
var particlesActive = 0
|
||||
|
||||
Reference in New Issue
Block a user