コード例 #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();
 }