Changement de nom de Game -> DownloadedGame

This commit is contained in:
Bertrand BRUN 2011-02-01 23:57:53 +01:00
parent 91b1fb2123
commit 257b95219a

View File

@ -3,7 +3,13 @@ package org.pticlic.model;
import java.io.Serializable; import java.io.Serializable;
public class Game implements Serializable { /**
* @author Bertrand BRUN
*
* Classe metier reprensentant le jeu telecharger du serveur.
*
*/
public class DownloadedGame implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -42,7 +48,7 @@ public class Game implements Serializable {
public Game(int id, int cat1, int cat2, int cat3, int cat4, Word center, public DownloadedGame(int id, int cat1, int cat2, int cat3, int cat4, Word center,
Word[] cloud) { Word[] cloud) {
super(); super();
this.id = id; this.id = id;
@ -54,6 +60,11 @@ public class Game implements Serializable {
this.cloud = cloud; this.cloud = cloud;
} }
/**
* Permet de recupere le nombre de relation que l'on va utiliser.
*
* @return le nombre de relation
*/
public int getNbRelation() { public int getNbRelation() {
int res = 0; int res = 0;