/// <summary> /// Vygeneruje nov� dostupn� poz�cie kam m��e k�� sko�i�, na z�klade oper�torov /// </summary> private void GenerateJumps() { foreach (var @operator in Operatory.AllOperations) { var skok = @operator(Stav); if (skok == null) { continue; } Jumps.Add(skok); } }
private void AddJump() { Jumps.Add(new JumpViewModel(this)); SelectedJump = Jumps.Count - 1; }