fi.utu.cs.hockey.rink
Class CenterLine

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.CenterLine
All Implemented Interfaces:
Shapable

public class CenterLine
extends Line

A center 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
CenterLine()
          A center 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

CenterLine

public CenterLine()
A center line.

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