public Sprite(Dictionary<string, SimpleAnimation> animations, string def) : this() { this.animations = animations; animation = animations[def]; curAnim = def; }
public Sprite(SimpleAnimation animation) : this() { this.animation = animation; }
public Sprite(Dictionary <string, SimpleAnimation> animations, string def) : this() { this.animations = animations; animation = animations[def]; curAnim = def; }