Exemplo n.º 1
0
 private void draw_ranking_data(SpriteBatch sprite_batch, Vector2 offset)
 {
     sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend);
     // Windows
     RankingWindow.draw(sprite_batch, offset);
     // Labels
     RankingLabel.draw(sprite_batch, offset);
     TurnsRankLabel.draw(sprite_batch, offset);
     CombatRankLabel.draw(sprite_batch, offset);
     ExpRankLabel.draw(sprite_batch, offset);
     // Data
     TurnsBar.draw(sprite_batch, offset);
     CombatBar.draw(sprite_batch, offset);
     ExpBar.draw(sprite_batch, offset);
     TotalRankLetter.draw(sprite_batch, offset);
     TurnsRankLetter.draw(sprite_batch, offset);
     CombatRankLetter.draw(sprite_batch, offset);
     ExpRankLetter.draw(sprite_batch, offset);
     sprite_batch.End();
 }
Exemplo n.º 2
0
 void Awake()
 {
     _playerHealthBar  = GetComponentInChildren <HealthBar>();
     _playerStaminaBar = GetComponentInChildren <StaminaBar>();
     _playerCombatBar  = GetComponentInChildren <CombatBar>();
 }