ch.sahits.game.graphic.display.util
Class Polygon
java.lang.Object
ch.sahits.game.graphic.display.util.Polygon
final class Polygon
- extends Object
A polynom is a figure consisting of n Edges. The last Point of the last edge is
identical with the first point of the first edge.
- Author:
- Andi Hotz, (c) Sahits GmbH, 2011
Created on Feb 27, 2011
name
private String name
edges
private final Edge[] edges
Polygon
public Polygon(String name,
Edge[] edges)
Polygon
public Polygon(Edge[] edges)
getEdges
public Edge[] getEdges()
getName
public String getName()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011 Sahits GmbH. All Rights Reserved.