Beginn der Implementierung
This commit is contained in:
87
src/de/jaujau/daten/Spielerverwaltung.java
Normal file
87
src/de/jaujau/daten/Spielerverwaltung.java
Normal file
@@ -0,0 +1,87 @@
|
||||
package de.jaujau.daten;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
/**
|
||||
* Class Spielerverwaltung
|
||||
*/
|
||||
public class Spielerverwaltung {
|
||||
|
||||
//
|
||||
// Fields
|
||||
//
|
||||
|
||||
private unsigned int level;
|
||||
/**
|
||||
* arraylist von Spieler
|
||||
*/
|
||||
private Spieler spieler;
|
||||
|
||||
//
|
||||
// Constructors
|
||||
//
|
||||
public Spielerverwaltung () { };
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
|
||||
|
||||
//
|
||||
// Accessor methods
|
||||
//
|
||||
|
||||
/**
|
||||
* Set the value of level
|
||||
* @param newVar the new value of level
|
||||
*/
|
||||
public void setLevel (unsigned int newVar) {
|
||||
level = newVar;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the value of level
|
||||
* @return the value of level
|
||||
*/
|
||||
public unsigned int getLevel () {
|
||||
return level;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of spieler
|
||||
* arraylist von Spieler
|
||||
* @param newVar the new value of spieler
|
||||
*/
|
||||
public void setSpieler (Spieler newVar) {
|
||||
spieler = newVar;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the value of spieler
|
||||
* arraylist von Spieler
|
||||
* @return the value of spieler
|
||||
*/
|
||||
public Spieler getSpieler () {
|
||||
return spieler;
|
||||
}
|
||||
|
||||
//
|
||||
// Other methods
|
||||
//
|
||||
|
||||
/**
|
||||
*/
|
||||
public void leseDaten()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*/
|
||||
public void speichernDaten()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user