public ProgressBar(GameEntity ent, ProgressUnitBar.ProgressName name, float needTime) { this.name = name; this.needTime = needTime; this.ent = ent; this.time = 0; }
public void UpdateInfo(ProgressUnitBar.ProgressName name, float needTime) { time = 0; this.name = name; this.needTime = needTime; }