예제 #1
0
 internal UserInfoDisplay(Game game) : base(game)
 {
     _log = LogManager.GetLogger(this);
     _log.Debug("UserInfoDisplay created!");
     _sc           = (Sharpcraft)game;
     _content      = new ContentManager(game.Services, Constants.ContentDirectory);
     game.Exiting += (s, e) => UnloadContent();
 }
예제 #2
0
 internal UserInfoDisplay(Game game)
     : base(game)
 {
     _log = LogManager.GetLogger(this);
     _log.Debug("UserInfoDisplay created!");
     _sc = (Sharpcraft) game;
     _content = new ContentManager(game.Services, Constants.ContentDirectory);
     game.Exiting += (s, e) => UnloadContent();
 }