fi.utu.cs.hockey.rink
Class BlueLine

java.lang.Object
  |
  +--fi.utu.cs.physics.Particle
        |
        +--fi.utu.cs.physics.Boundary
              |
              +--fi.utu.cs.physics.BoundaryLine
                    |
                    +--fi.utu.cs.hockey.rink.Line
                          |
                          +--fi.utu.cs.hockey.rink.BlueLine
All Implemented Interfaces:
Shapable

public class BlueLine
extends Line

A blue line.


Field Summary
 
Fields inherited from class fi.utu.cs.physics.BoundaryLine
HORIZONTAL, OTHER, VERTICAL
 
Fields inherited from class fi.utu.cs.physics.Boundary
boundaryEpsilon
 
Constructor Summary
BlueLine(boolean half)
          A blue line.
 
Method Summary
 java.lang.String toString()
          Returns a string that contains the values of the attributes.
 
Methods inherited from class fi.utu.cs.hockey.rink.Line
color, isDrawn, isFilled, paint, shape, stroke
 
Methods inherited from class fi.utu.cs.physics.BoundaryLine
elasticCollision, getEndPoints, getType, inelasticCollision, isCrossedByBoundingBox, isCrossedByLine
 
Methods inherited from class fi.utu.cs.physics.Boundary
isCrossed
 
Methods inherited from class fi.utu.cs.physics.Particle
addCollisionNotification, clearCollisionNotifications, getOwner, isCollisionNotified, isCollisionNotified, isCorporeal, removeCollisionNotification, setCorporeal, setEthereal, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlueLine

public BlueLine(boolean half)
A blue line.

Parameters:
half - In which half of the rink the line is.
Method Detail

toString

public java.lang.String toString()
Description copied from class: BoundaryLine
Returns a string that contains the values of the attributes.

Overrides:
toString in class BoundaryLine