Beispiel #1
0
    public Texture2D GetImage()
    {
        SpriteAnimation ani = SpriteAnimations.Get(name + pose);

        if (ani != null)
        {
            return(ani.GetImage());
        }
        if (table.ContainsKey(pose))
        {
            return(table[pose]);
        }
        return(null);
    }