//public override string GetDesc () //{ // return base.GetDesc() + $", шт.{Count}"; //} public override void SetDetailsParam(List <AttributeInfo> atrs) { SetDetailParameter("ПОЗИЦИЯ", Mark, atrs); SetDetailParameter("ВЫСОТА", HDif.ToString(), atrs); SetDetailParameter("ДЛИНА1", LStart.ToString(), atrs); SetDetailParameter("ДЛИНА2", LDif.ToString(), atrs); SetDetailParameter("ДЛИНА3", LEnd.ToString(), atrs); }
public void Start() { // Nastartuje hru, zavolá inicializaci skore, připraví pozadí pro generaci levelu, zavolá generaci prvního level jeSpusteno = true; formular.BackColor = Color.Cyan; LStart.Hide(); LExit.Hide(); VytvorHrace(); ScoreBoard.Inicializuj(formular, hrac); aktualniIDLevelu = 0; Level L1 = Level.CreateLevel1(formular, hrac); L1.Generuj(); }
public override int CompareTo(IDetail other) { var b = other as BentBarDirect; if (b == null) { return(-1); } var res = AcadLib.Comparers.AlphanumComparator.New.Compare(Mark, b.Mark); if (res != 0) { return(res); } res = LStart.CompareTo(b.LStart); if (res != 0) { return(res); } res = LEnd.CompareTo(b.LEnd); if (res != 0) { return(res); } res = HDif.CompareTo(b.HDif); if (res != 0) { return(res); } res = LDif.CompareTo(b.LDif); return(res); }
protected virtual void OnLerpStart() { LStart?.Invoke(this, new LerpArgs(value)); }
public override string ToString() { return($" { LStart.ToString() } ; { LEnd.ToString() } >"); }