Class Indexpaar

java.lang.Object
  
public class Indexpaar
extends Object

Zur Interaktion mit dem Inventar von der Klasse Spiel aus wird diese Klasse nicht benoetigt! Dient zur uebergabe mehrerer Int-Werte im Inventar. Jeder Seite im Inventar wird ein solches Objekt dynamisch zugeordnet.

Version:
1.0
Author:
KF

Field Summary
protected  int anzahl
           
protected  int[] ind
           
protected  int letzter_index
           
protected  int seitenzahl
           
 
Constructor Summary
Indexpaar(int anzahl, int seitenzahl, int letzter_index, int ind1, int ind2, int ind3, int ind4, int ind5, int ind6)
          Indexpaar Konstruktor
 
Method Summary
 
Methods inherited from class
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anzahl

protected int anzahl

ind

protected int[] ind

letzter_index

protected int letzter_index

seitenzahl

protected int seitenzahl
Constructor Detail

Indexpaar

public Indexpaar(int anzahl,
                 int seitenzahl,
                 int letzter_index,
                 int ind1,
                 int ind2,
                 int ind3,
                 int ind4,
                 int ind5,
                 int ind6)
Indexpaar Konstruktor

Parameters:
anzahl - Wie viele Objekte auf dieser Seite dargestellt sind (max. 6).
seitenzahl - Die Seitenzahl der invseite.
letzter_index - Der Index des 6. Inventarobjekts.
ind1 - Index des ersten Inventarobjekts
ind2 - Index des zweiten Inventarobjekts
ind3 - Index des dritten Inventarobjekts
ind4 - Index des vierten Inventarobjekts
ind5 - Index des fuenften Inventarobjekts
ind6 - Index des sechsten Inventarobjekts