public ExerciceForme(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeEval    = ExerciceEvalTypes.Forme;
     this.Taille      = 1;
     this.Origine     = 2;
     this.AllerRetour = false;
 }
 public ExerciceBorneConfig(ExerciceBorneConfig ebc)
 {
     this._borneG     = ebc.BorneG;
     this._borneD     = ebc.BorneD;
     this._borneH     = ebc.BorneH;
     this._borneB     = ebc.BorneB;
     this._borneArc_H = ebc.BorneArc_H;
     this._borneArc_B = ebc.BorneArc_B;
     this._tailleBras = ebc.TailleBras;
 }
Exemple #3
0
        private byte[] _tabPosDebut;  // util si mode jeu !

        #endregion

        #region Constructors
        /// <summary>
        /// Initializes a new instance of the ExerciceForme class.
        /// </summary>
        public ExerciceJeu(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
            : base(baseConf, borneConf, theme)
        {
            //valeur pour l'exo par défaut
            this._trace       = false;
            this._temps       = 10;
            this._score       = 160U;
            this._taille      = Zoom.Petit;
            this._lvl         = 1;
            this._tabPosDebut = new byte[2];
            _tabPosDebut[0]   = 47; // 45
            _tabPosDebut[1]   = 50;
        }
Exemple #4
0
 public ExerciceReeducation(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeExercice = ExerciceTypes.Jeu;
 }
Exemple #5
0
 public ExerciceEvaluation(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeExercice = ExerciceTypes.Evaluation;
 }
Exemple #6
0
 public Target(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.Vertical;
 }
Exemple #7
0
 public Square(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.NbrPolygone = 4;
     this.TypeForme   = FormeType.Carré;
 }
 public ExerciceGeneric(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
 {
     BaseConfig  = baseConf;
     BorneConfig = borneConf;
     Theme       = theme;
 }
Exemple #9
0
 public Circle(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, null)
 {
     this.NbrPolygone = 40;
     this.TypeForme   = FormeType.Cercle;
 }
 public FreeAmplitude(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.VerticalLong;
 }
Exemple #11
0
 public ExerciceMouvement(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeEval       = ExerciceEvalTypes.Mouvement;
     this.PositionDroite = 2;
 }
Exemple #12
0
 public Tonus(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.Tonus;
 }