|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.hattrickorganizer.logik.ArenaSizer
public class ArenaSizer
DOCUMENT ME!
| Field Summary | |
|---|---|
static float |
ABRISS
TODO Missing Parameter Documentation |
static float |
DACH_AUSBAU
TODO Missing Parameter Documentation |
static float |
DACH_EINTRITT
TODO Missing Parameter Documentation |
static float |
DACH_PROZENT
TODO Missing Parameter Documentation |
static float |
DACH_UNTERHALT
TODO Missing Parameter Documentation |
static int |
FANS_GUT
TODO Missing Parameter Documentation |
static int |
FANS_NORMAL
TODO Missing Parameter Documentation |
static int |
FANS_SCHLECHT
TODO Missing Parameter Documentation |
static float |
FIXKOSTEN
TODO Missing Parameter Documentation |
static float |
LOGEN_AUSBAU
TODO Missing Parameter Documentation |
static float |
LOGEN_EINTRITT
TODO Missing Parameter Documentation |
static float |
LOGEN_PROZENT
TODO Missing Parameter Documentation |
static float |
LOGEN_UNTERHALT
TODO Missing Parameter Documentation |
static float |
SITZ_AUSBAU
TODO Missing Parameter Documentation |
static float |
SITZ_EINTRITT
TODO Missing Parameter Documentation |
static float |
SITZ_PROZENT
TODO Missing Parameter Documentation |
static float |
SITZ_UNTERHALT
TODO Missing Parameter Documentation |
static float |
STEH_AUSBAU
TODO Missing Parameter Documentation |
static float |
STEH_EINTRITT
TODO Missing Parameter Documentation |
static float |
STEH_PROZENT
TODO Missing Parameter Documentation |
static float |
STEH_UNTERHALT
TODO Missing Parameter Documentation |
| Constructor Summary | |
|---|---|
ArenaSizer()
Creates a new instance of ArenaSizer |
|
| Method Summary | |
|---|---|
Stadium[] |
berechneAusbaustufen(Stadium aktuell,
int anzFans)
berechnet die möglichen Ausbaustufen |
float |
calcBauKosten(float steh,
float sitz,
float dach,
float logen)
berehnet die Baukosten |
int |
calcDachVerteilung(float stadionGr)
berechnet die Platzverteilung |
int |
calcLogenVerteilung(float stadionGr)
berechnet die Platzverteilung |
int |
calcOptimalSize(int fanFaktor,
int anzahlFans)
berechnet die optimale stadion grösse |
int |
calcSitzVerteilung(float stadionGr)
berechnet die Platzverteilung |
int |
calcStehVerteilung(float stadionGr)
berechnet die Platzverteilung |
float |
calcUnterhalt(Stadium arena)
berechnet den Unterhalt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final float STEH_EINTRITT
public static final float SITZ_EINTRITT
public static final float DACH_EINTRITT
public static final float LOGEN_EINTRITT
public static final float STEH_UNTERHALT
public static final float SITZ_UNTERHALT
public static final float DACH_UNTERHALT
public static final float LOGEN_UNTERHALT
public static float STEH_AUSBAU
public static float SITZ_AUSBAU
public static float DACH_AUSBAU
public static float LOGEN_AUSBAU
public static float ABRISS
public static float FIXKOSTEN
public static final float STEH_PROZENT
public static final float SITZ_PROZENT
public static final float DACH_PROZENT
public static final float LOGEN_PROZENT
public static final int FANS_GUT
public static final int FANS_NORMAL
public static final int FANS_SCHLECHT
| Constructor Detail |
|---|
public ArenaSizer()
| Method Detail |
|---|
public final Stadium[] berechneAusbaustufen(Stadium aktuell,
int anzFans)
aktuell - TODO Missing Constructuor Parameter DocumentationanzFans - TODO Missing Constructuor Parameter Documentation
public final float calcBauKosten(float steh,
float sitz,
float dach,
float logen)
steh - TODO Missing Constructuor Parameter Documentationsitz - TODO Missing Constructuor Parameter Documentationdach - TODO Missing Constructuor Parameter Documentationlogen - TODO Missing Constructuor Parameter Documentation
public final int calcDachVerteilung(float stadionGr)
stadionGr - TODO Missing Constructuor Parameter Documentation
public final int calcLogenVerteilung(float stadionGr)
stadionGr - TODO Missing Constructuor Parameter Documentation
public final int calcOptimalSize(int fanFaktor,
int anzahlFans)
fanFaktor - TODO Missing Constructuor Parameter DocumentationanzahlFans - TODO Missing Constructuor Parameter Documentation
public final int calcSitzVerteilung(float stadionGr)
stadionGr - TODO Missing Constructuor Parameter Documentation
public final int calcStehVerteilung(float stadionGr)
stadionGr - TODO Missing Constructuor Parameter Documentation
public final float calcUnterhalt(Stadium arena)
arena - TODO Missing Constructuor Parameter Documentation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||