Class JavaKlax_Stein

java.lang.Object
  extended by JavaKlax_Stein

public class JavaKlax_Stein
extends java.lang.Object

Author:
Christian Gräfe

Constructor Summary
JavaKlax_Stein(byte c, int x, int y)
          Der Kunstruktor eines Steines
 
Method Summary
 void setPos(int x, int y)
          Mit dieser Funktion wird die Position des Steines auf dem Spielfeld verändert
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaKlax_Stein

public JavaKlax_Stein(byte c,
                      int x,
                      int y)
Der Kunstruktor eines Steines

Parameters:
c - gibt die Frabnummer an
x - gibt die X-Position an
y - gibt die Y-Position an
Method Detail

setPos

public void setPos(int x,
                   int y)
Mit dieser Funktion wird die Position des Steines auf dem Spielfeld verändert

Parameters:
x - Ist die X-Position auf dem Spielfeld
y - Ist die Y-Position auf dem Spielfeld