Esempio 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;
 }
Esempio n. 2
0
 public ExerciceBaseConfig(ExerciceBaseConfig ebc)
 {
     this._mode        = ebc.ModeType;
     this._masse       = ebc.Masse;
     this._viscosite   = ebc.Viscosite;
     this._raideurLat  = ebc.RaideurLat;
     this._raideurLong = ebc.RaideurLong;
     this._vitesse     = ebc.Vitesse;
     this._nbrRep      = ebc.NbrRep;
     this._init        = ebc.Init;
     this._auto        = ebc.Auto;
 }
Esempio 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;
        }
Esempio n. 4
0
 public ExerciceReeducation(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeExercice = ExerciceTypes.Jeu;
 }
Esempio n. 5
0
 public ExerciceEvaluation(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeExercice = ExerciceTypes.Evaluation;
 }
Esempio n. 6
0
 public Target(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.Vertical;
 }
Esempio n. 7
0
 public Square(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.NbrPolygone = 4;
     this.TypeForme   = FormeType.Carré;
 }
Esempio n. 8
0
 public ExerciceGeneric(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
 {
     BaseConfig  = baseConf;
     BorneConfig = borneConf;
     Theme       = theme;
 }
Esempio n. 9
0
 public Circle(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, null)
 {
     this.NbrPolygone = 40;
     this.TypeForme   = FormeType.Cercle;
 }
Esempio n. 10
0
 public FreeAmplitude(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.VerticalLong;
 }
Esempio n. 11
0
 public ExerciceMouvement(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeEval       = ExerciceEvalTypes.Mouvement;
     this.PositionDroite = 2;
 }
Esempio n. 12
0
 public Tonus(ExerciceBaseConfig baseConf, ExerciceBorneConfig borneConf, ThemeModel theme)
     : base(baseConf, borneConf, theme)
 {
     this.TypeDroite = DroiteType.Tonus;
 }