risiko.server.valueobjects
Class KontinentMissionImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by risiko.server.valueobjects.MissionImpl
                  extended by risiko.server.valueobjects.KontinentMissionImpl
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, KontinentMission, Mission

public class KontinentMissionImpl
extends MissionImpl
implements KontinentMission

Kontinentmission, abgeleitet von Mission

Version:
2009-05-25
Author:
dgrosche
See Also:
Serialized Form

Constructor Summary
KontinentMissionImpl(int anzKont)
          Erstellt eine neue Kontinentmission
 
Method Summary
 void addKontinent(Kontinent k)
          Fügt Kontinenten zur Liste zu befreiender Kontinente hinzu
 void pruefErfuellt()
          Prüft ob Mission erfüllt wurde
 void setKontinentenliste(java.util.Vector<Kontinent> kliste)
           
 
Methods inherited from class risiko.server.valueobjects.MissionImpl
getMessage, isErfuellt, setMessage, setSpieler, toString
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KontinentMissionImpl

public KontinentMissionImpl(int anzKont)
                     throws java.rmi.RemoteException
Erstellt eine neue Kontinentmission

Parameters:
anzKont - Anzahl zu erobernder Kontinente
Throws:
java.rmi.RemoteException
Method Detail

addKontinent

public void addKontinent(Kontinent k)
Description copied from interface: KontinentMission
Fügt Kontinenten zur Liste zu befreiender Kontinente hinzu

Specified by:
addKontinent in interface KontinentMission
Parameters:
k - hinzuzufügender Kontinent

setKontinentenliste

public void setKontinentenliste(java.util.Vector<Kontinent> kliste)
Specified by:
setKontinentenliste in interface KontinentMission
Parameters:
kliste - the kontinentenliste to set

pruefErfuellt

public void pruefErfuellt()
                   throws java.rmi.RemoteException
Description copied from interface: Mission
Prüft ob Mission erfüllt wurde

Specified by:
pruefErfuellt in interface KontinentMission
Specified by:
pruefErfuellt in interface Mission
Specified by:
pruefErfuellt in class MissionImpl
Throws:
java.rmi.RemoteException