29 lines
558 B
Java
29 lines
558 B
Java
package pr2.vererbung.konstruktoren;
|
|
|
|
/**
|
|
* Nachtelf aus der Allianz.
|
|
*/
|
|
public class Nachtelf {
|
|
|
|
/**
|
|
* Standardmäßige Stärke der Fähigkeit Naturwiderstand.
|
|
*/
|
|
public static final int STANDARD_NATURWIDERSTAND = 5;
|
|
|
|
/**
|
|
* Fähigkeit zum Widerstand gegen Naturmagie.
|
|
*/
|
|
private int naturwiderstand;
|
|
|
|
// TODO: Konstruktoren implementieren
|
|
|
|
/**
|
|
* Stärke des Naturwiderstandes.
|
|
*
|
|
* @return the naturwiderstand
|
|
*/
|
|
public int getNaturwiderstand() {
|
|
return naturwiderstand;
|
|
}
|
|
}
|