Ignore:
Timestamp:
2011-06-22 14:48:22 (8 years ago)
Author:
sijoseha
Message:

Basic HUD stuff implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/23/sijoseha/Fera Proelia/Fera Proelia/Fera Proelia/ScreenManager.cs

    r2141 r2144  
    1717 
    1818        SpriteBatch spriteBatch; 
    19         SpriteFont menuFont; 
     19        SpriteFont menuFont, hudFont; 
    2020 
    2121        bool isInitialized; 
     
    2323        public SpriteBatch SpriteBatch { get { return spriteBatch; } } 
    2424        public SpriteFont MenuFont { get { return menuFont; } } 
     25        public SpriteFont HudFont { get { return hudFont; } } 
    2526 
    2627        public ScreenManager(Game game) 
     
    4142            spriteBatch = new SpriteBatch(GraphicsDevice); 
    4243            menuFont = content.Load<SpriteFont>("menuFont"); 
     44            hudFont = content.Load<SpriteFont>("hudFont"); 
    4345            foreach (GameScreen screen in screens) 
    4446            { 
Note: See TracChangeset for help on using the changeset viewer.