예제 #1
0
 public ResourceProvider(Game game)
 {
     m_Anim    = new AnimationResource(game.GraphicsDevice);
     m_Art     = new ArtMulResource(game.GraphicsDevice);
     m_Cliloc  = new ClilocResource("enu");
     m_Effects = new EffectDataResource();
     m_Fonts   = new FontsResource(game.GraphicsDevice);
     m_Gumps   = new GumpMulResource(game.GraphicsDevice);
     m_Texmaps = new TexmapResource(game.GraphicsDevice);
 }
예제 #2
0
 public ResourceProvider(object game)
 {
     _anim    = new AnimationResource(game);
     _art     = new ArtMulResource(game);
     _cliloc  = new ClilocResource("enu");
     _effects = new EffectDataResource();
     _fonts   = new FontsResource(game);
     _gumps   = new GumpMulResource(game);
     _texmaps = new TexmapResource(game);
 }