All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class navalBattle.Victime

java.lang.Object
   |
   +----navalBattle.Victime

public class Victime
extends Object
implements Serializable
Objet interne à l'objet Tir lui meme interne à l'Objet distant RMI VectorTir Permet de donner les victimes d'un tir


Variable Index

 o idProprioFlotte
 o nomProprioFlotte
 o vBateauxTouches

Constructor Index

 o Victime(int)
 o Victime(String, int)

Method Index

 o addBateauTouche(BateauTouche)
 o getBateauTouche(int)
 o getBateauTouche(String)
 o getVectBateauTouche()
 o setNomProprioFlotte(String)
 o toucher(Case, String)
 o updateBateauTouche(BateauTouche, int)

Variables

 o nomProprioFlotte
 private String nomProprioFlotte
 o idProprioFlotte
 private int idProprioFlotte
 o vBateauxTouches
 private Vector vBateauxTouches

Constructors

 o Victime
 public Victime(int id)
Parameters:
id - int
 o Victime
 public Victime(String nomP,
                int idP)
Parameters:
nomP - java.lang.String
idP - int

Methods

 o addBateauTouche
 public void addBateauTouche(BateauTouche bat)
Parameters:
bat - navalBattle.BateauTouche
 o getBateauTouche
 public BateauTouche getBateauTouche(int idBat)
Parameters:
idbat - int
Returns:
navalBattle.BateauTouche
 o getBateauTouche
 public BateauTouche getBateauTouche(String nom)
Parameters:
nom - java.lang.String
Returns:
navalBattle.BateauTouche
 o getVectBateauTouche
 public Vector getVectBateauTouche()
Returns:
java.util.Vector
 o setNomProprioFlotte
 public void setNomProprioFlotte(String nom)
Parameters:
nom - java.lang.String
 o toucher
 public void toucher(Case where,
                     String nomBateau)
Parameters:
where - navalBattle.Case
nomBateau - java.lang.String
 o updateBateauTouche
 public void updateBateauTouche(BateauTouche bat,
                                int idBat)
Parameters:
bat - navalBattle.BateauTouche

All Packages  Class Hierarchy  This Package  Previous  Next  Index