Exemple #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);
            }
        }
Exemple #2
0
 public ArtSprite( ArtSpriteResource arg_resource )
 {
     resource = arg_resource;
 }
Exemple #3
0
 public ArtSprite(ArtSpriteResource arg_resource)
 {
     resource = arg_resource;
     scale = resource.scale;
 }