1 package com.lasalle84.mobile_darts;
3 import android.util.Log;
26 private final static String
TAG =
"_TypeJeu_";
41 this.pointDepart = 501;
42 this.doubleOut =
true;
50 public TypeJeu(
int pointDepart,
boolean doubleOut)
61 this.pointDepart = 301;
62 this.doubleOut =
false;
65 this.pointDepart = 301;
66 this.doubleOut =
true;
69 this.pointDepart = 501;
70 this.doubleOut =
false;
73 this.pointDepart = 501;
74 this.doubleOut =
true;
104 typeJeu = typeJeu.concat(
"_DOUBLE_OUT");
106 Log.d(TAG,
"getTypeJeu: "+ typeJeu);
static final int PARTIE_501_DOUBLE_OUT
static final int PARTIE_301_DOUBLE_OUT
void setPointDepart(int pointDepart)
static final int PARTIE_301
La classe qui contient toute la gestion des types de parties.
void setDoubleOut(boolean doubleOut)
TypeJeu()
Constructeur par défaut de la classe TypeJeu.
static final int PARTIE_501
TypeJeu(int pointDepart, boolean doubleOut)
Constructeur de la classe TypeJeu.