Jeu de test, optimisation correction de bug
This commit is contained in:
@@ -101,6 +101,8 @@ public class GameSelectionActivity extends AppCompatActivity implements GameAdap
|
||||
public void onItemClick(GameInfo gameInfo) {
|
||||
if (!gameInfo.isAvailable()) {
|
||||
// Afficher un message "Coming soon"
|
||||
android.widget.Toast.makeText(this, gameInfo.getName() + " - Bientôt disponible!",
|
||||
android.widget.Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -115,7 +117,9 @@ public class GameSelectionActivity extends AppCompatActivity implements GameAdap
|
||||
startActivity(new Intent(this, com.example.boidelov3.games.papelito.PapelitoSetupActivity.class));
|
||||
break;
|
||||
case RULES:
|
||||
// TODO: Implémenter RulesListActivity
|
||||
// À implémenter: RulesListActivity
|
||||
android.widget.Toast.makeText(this, "Règles de jeux - Bientôt disponible!",
|
||||
android.widget.Toast.LENGTH_SHORT).show();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user