fi.utu.cs.hockey.rink
Class FaceOffCircle

java.lang.Object
  |
  +--fi.utu.cs.physics.Particle
        |
        +--fi.utu.cs.physics.Boundary
              |
              +--fi.utu.cs.physics.BoundaryCurve
                    |
                    +--fi.utu.cs.hockey.rink.Circle
                          |
                          +--fi.utu.cs.hockey.rink.FaceOffCircle
All Implemented Interfaces:
Shapable

public class FaceOffCircle
extends Circle

A face off circle.


Field Summary
 
Fields inherited from class fi.utu.cs.physics.Boundary
boundaryEpsilon
 
Constructor Summary
FaceOffCircle(boolean half, boolean side)
          A face off circle.
 
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.Circle
color, isDrawn, isFilled, paint, shape, stroke
 
Methods inherited from class fi.utu.cs.physics.BoundaryCurve
elasticCollision, getAngularExtent, getCenter, getRadius, getStartAngle, 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

FaceOffCircle

public FaceOffCircle(boolean half,
                     boolean side)
A face off circle.

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

toString

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

Overrides:
toString in class BoundaryCurve