ch.sahits.game.graphic.display.util
Class Edge

java.lang.Object
  extended by ch.sahits.game.graphic.display.util.Edge

final class Edge
extends Object

An edge is the conection between two Points.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Feb 27, 2011

Field Summary
private  Point a
           
private  Point b
           
 
Constructor Summary
Edge(Point a, Point b)
           
 
Method Summary
 Point getA()
           
 Point getB()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

a

private final Point a

b

private final Point b
Constructor Detail

Edge

public Edge(Point a,
            Point b)
Method Detail

getA

public Point getA()

getB

public Point getB()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Sahits GmbH. All Rights Reserved.