risiko.server.valueobjects
Class KontinentMissionImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
risiko.server.valueobjects.MissionImpl
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
| 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 |
KontinentMissionImpl
public KontinentMissionImpl(int anzKont)
throws java.rmi.RemoteException
- Erstellt eine neue Kontinentmission
- Parameters:
anzKont - Anzahl zu erobernder Kontinente
- Throws:
java.rmi.RemoteException
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