|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fi.utu.cs.hockey.rink.Rink
Definitions for an ice hockey rink. All measures are given in meters, and they follow the IIHF Official Rules.
Field Summary | |
static double |
BLUE_LINE_OFFSET
Distance from the center line to the blue line. |
static double |
BLUE_LINE_WIDTH
Width of the blue line. |
static double |
BOARD_RADIUS
Radius of the corner boards. |
static double |
BOARD_WIDTH
Width of the corner boards. |
static double |
CENTER_CIRCLE_RADIUS
Radius of the center circle. |
static double |
CENTER_CIRCLE_WIDTH
Width of the center circle. |
static double |
CENTER_ICE_SPOT_RADIUS
Radius of the center spot. |
static double |
CENTER_LINE_WIDTH
Width of the center line. |
static java.awt.Color |
COLOR_BLUE
The blue color used in the center ice spot, center circle, and blue lines. |
static java.awt.Color |
COLOR_BOARD
The color used in the boards. |
static java.awt.Color |
COLOR_ICE
The color used in the ice. |
static java.awt.Color |
COLOR_LIGHT_BLUE
The light blue color used in the goal crease area. |
static java.awt.Color |
COLOR_RED
The red color used in the center line, goal lines, face off cirles, face off spots, goal crease lines, and goal posts. |
static double |
ENDZONE_FACE_OFF_OFFSET
Distance from the center line to the endzone face off spot. |
static double |
FACE_OFF_CIRCLE_RADIUS
Radius of the face off circle. |
static double |
FACE_OFF_CIRCLE_WIDTH
Width of the face off circle. |
static double |
FACE_OFF_OFFSET
Distance from the center to the face off spot. |
static double |
FACE_OFF_SPOT_RADIUS
Radius of the face off spot. |
static double |
GOAL_CREASE_RADIUS
Radius of the goal crease. |
static double |
GOAL_CREASE_WIDTH
Width of the goal crease. |
static double |
GOAL_LINE_LENGTH
The length of the goal line between the rounded corners. |
static double |
GOAL_LINE_OFFSET
Distance from the center line to the goal line. |
static double |
GOAL_LINE_WIDTH
Width of the goal line. |
static double |
GOAL_NET_OFFSET
Distance from the center line to the goal net. |
static double |
GOAL_NET_WIDTH
Width of the goal net. |
static double |
GOAL_POST_WIDTH
Width of the goal post. |
static double |
GOAL_WIDTH
Width of the goal. |
static double |
LENGTH
Length of the ice hockey rink. |
static double |
NEUTRAL_ZONE_FACE_OFF_OFFSET
Distance from the center line to the neutral zone face off spot. |
static double |
SCORE_LINE_OFFSET
Distance from the center line to the scoring line. |
ScoreLine[] |
scoreLines
|
static double |
WIDTH
Width of the ice hockey rink. |
Constructor Summary | |
Rink(Universe u)
Creates a rink in the universe u . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final double WIDTH
public static final double LENGTH
public static final double BOARD_RADIUS
public static final double BOARD_WIDTH
public static final double GOAL_LINE_WIDTH
public static final double BLUE_LINE_WIDTH
public static final double CENTER_LINE_WIDTH
public static final double GOAL_LINE_OFFSET
public static final double GOAL_LINE_LENGTH
public static final double BLUE_LINE_OFFSET
public static final double CENTER_CIRCLE_RADIUS
public static final double CENTER_CIRCLE_WIDTH
public static final double CENTER_ICE_SPOT_RADIUS
public static final double FACE_OFF_CIRCLE_RADIUS
public static final double FACE_OFF_CIRCLE_WIDTH
public static final double FACE_OFF_SPOT_RADIUS
public static final double FACE_OFF_OFFSET
public static final double ENDZONE_FACE_OFF_OFFSET
public static final double NEUTRAL_ZONE_FACE_OFF_OFFSET
public static final double GOAL_CREASE_RADIUS
public static final double GOAL_CREASE_WIDTH
public static final double GOAL_WIDTH
public static final double GOAL_POST_WIDTH
public static final double SCORE_LINE_OFFSET
public static final double GOAL_NET_WIDTH
public static final double GOAL_NET_OFFSET
public static final java.awt.Color COLOR_ICE
public static final java.awt.Color COLOR_BOARD
public static final java.awt.Color COLOR_RED
public static final java.awt.Color COLOR_BLUE
public static final java.awt.Color COLOR_LIGHT_BLUE
public ScoreLine[] scoreLines
Constructor Detail |
public Rink(Universe u)
u
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |