Exemplo n.º 1
0
        public static void Load()
        {
            Items       = Animations.Get("items");
            Ui          = Animations.Get("ui");
            Projectiles = Animations.Get("projectiles");
            Particles   = Animations.Get("particles");
            Props       = Animations.Get("props");

            Missing            = Items.GetSlice("missing");
            Textures.Missing   = Missing;
            Item.UnknownRegion = Items.GetSlice("unknown");
        }
Exemplo n.º 2
0
 public SliceComponent(AnimationData image, string slice)
 {
     Set(image.GetSlice(slice));
 }
Exemplo n.º 3
0
 public ZSliceComponent(AnimationData image, string slice)
 {
     Sprite = image.GetSlice(slice);
 }