Update PresentateurWEntrainement.cs
This commit is contained in:
parent
c330afc0e3
commit
db2b79baf8
@ -25,15 +25,11 @@ namespace JeuHoy_WPF_Natif.Presenter
|
|||||||
_vue.EntrainementEvt += _vue_EntrainementEvt;
|
_vue.EntrainementEvt += _vue_EntrainementEvt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void _vue_EntrainementEvt(object sender, EventArgs e)
|
private void _vue_EntrainementEvt(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// Perceptron!!!
|
// Perceptron!!!
|
||||||
string position = (_vue.GetPositionEnCour() - 1).ToString();
|
string position = (_vue.GetPositionEnCour() - 1).ToString();
|
||||||
Squelette sq = new Squelette(_gestionnaireKinect.Body, position);
|
_vue.Console = _gestionnairePerceptron.Entrainement(new Squelette(_gestionnaireKinect.Body, position), position);
|
||||||
|
|
||||||
_vue.Console = _gestionnairePerceptron.Entrainement(sq, position);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user