Made update time between frames of animated sprites a property instead of a constant