Ignore:
Timestamp:
2013-07-02 14:24:57 (9 years ago)
Author:
jumakall
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/27/TeemuM/Game/Game/Game/Game.cs

    r4353 r4358  
    2525    } 
    2626 
     27    IntMeter scoreboard; 
     28 
     29    void ScoreMeter() 
     30    { 
     31        scoreboard = new IntMeter(0); 
     32        scoreboard.AddOverTime(100, 1); 
     33 
     34        Label ScoreScreen = new Label(); 
     35        ScoreScreen.X = 0; 
     36        ScoreScreen.Y = Screen.Bottom + 100; 
     37        ScoreScreen.TextColor = Color.Black; 
     38        ScoreScreen.Color = Color.White; 
     39        ScoreScreen.BindTo(scoreboard); 
     40        Add(ScoreScreen); 
     41    } 
     42 
    2743    protected override void Update(Microsoft.Xna.Framework.GameTime gameTime) 
    2844    { 
Note: See TracChangeset for help on using the changeset viewer.