poker.gui
Class TablePlotter

java.lang.Object
  extended by poker.gui.TablePlotter

public class TablePlotter
extends java.lang.Object

Zeichnet den Pokertisch, die Tischkarten und den Pot.


Field Summary
private  org.eclipse.swt.graphics.Point[] cardPoints
           
 org.eclipse.swt.graphics.Point cardSize
           
private  org.eclipse.swt.graphics.Point chipStackPoint
           
 
Constructor Summary
TablePlotter(int x, int y)
          Konstruktor für die Initalisierung.
 
Method Summary
 void draw(org.eclipse.swt.graphics.GC gc)
          Zeichnet den Tisch mit Tischkarten und Pot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cardPoints

private org.eclipse.swt.graphics.Point[] cardPoints

cardSize

public final org.eclipse.swt.graphics.Point cardSize

chipStackPoint

private org.eclipse.swt.graphics.Point chipStackPoint
Constructor Detail

TablePlotter

public TablePlotter(int x,
                    int y)
Konstruktor für die Initalisierung.

Parameters:
x - der Offset der x-Koordinate
y - der Offset der y-Koordinate
Method Detail

draw

public void draw(org.eclipse.swt.graphics.GC gc)
Zeichnet den Tisch mit Tischkarten und Pot.

Parameters:
gc - der GraphicContext