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