public HitObject(HitObjectContainer container, TextureStore textureStore, IBindable <float> trackPosition, float hitTime, int index, NoteType hitObjectType) : base(textureStore, "Circle") { m_container = container; m_trackPosition.BindDataFrom(trackPosition); m_hitTime = hitTime; Index = index; m_hitObjectType = hitObjectType; Color = m_hitObjectType == NoteType.Don ? Color.Red : Color.Blue; }