Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 4
0
 public ExerciceReeducation(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeExercice = ExerciceTypes.Jeu;
 }
Exemplo n.º 5
0
 public ExerciceEvaluation(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeExercice = ExerciceTypes.Evaluation;
 }
Exemplo n.º 6
0
 public Target(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.Vertical;
 }
Exemplo n.º 7
0
 public Square(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.NbrPolygone = 4;
     this.TypeForme   = FormeType.Carré;
 }
Exemplo n.º 8
0
 public ExerciceGeneric(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
 {
     BaseConfig  = baseConf;
     BorneConfig = borneConf;
     Theme       = theme;
 }
Exemplo n.º 9
0
 public Circle(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, null)
 {
     this.NbrPolygone = 40;
     this.TypeForme   = FormeType.Cercle;
 }
Exemplo n.º 10
0
 public FreeAmplitude(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.VerticalLong;
 }
Exemplo n.º 11
0
 public ExerciceMouvement(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeEval       = ExerciceEvalTypes.Mouvement;
     this.PositionDroite = 2;
 }
Exemplo n.º 12
0
 public Tonus(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.Tonus;
 }