fi.utu.cs.hockey.rink
Class FaceOffSpot

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

public class FaceOffSpot
extends Spot

A face off spot.


Field Summary
 
Fields inherited from class fi.utu.cs.physics.Boundary
boundaryEpsilon
 
Constructor Summary
FaceOffSpot(boolean half, boolean side, boolean zone)
          A face off spot.
 
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.Spot
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

FaceOffSpot

public FaceOffSpot(boolean half,
                   boolean side,
                   boolean zone)
A face off spot.

Parameters:
half - In which half of the rink the spot is.
side - In which side of the rink the spot is.
zone - In which zone of the rink half the spot 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