Пример #1
0
        public static void Load(ContentManager content)
        {

            sprite_default = new ArtSpriteResource("default_sprite");
            sprite_default.Load(content);

            foreach ( ArtSpriteResource sprite in sprites.Values)
            {
                sprite.Load(content);
            }
        }
Пример #2
0
 public ArtSprite( ArtSpriteResource arg_resource )
 {
     resource = arg_resource;
 }
Пример #3
0
 public ArtSprite(ArtSpriteResource arg_resource)
 {
     resource = arg_resource;
     scale = resource.scale;
 }