public AnimationManger(animation a, Color c) { _animation = a; scale = new Vector2(5); rot = 0; color = c; }
public void play(animation a) { if (a == _animation) { return; } timer = 0; _animation.index = 0; _animation = a; }