fi.utu.cs.hockey.rink
Class CenterIceSpot

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

public class CenterIceSpot
extends Spot

A center ice spot.


Field Summary
 
Fields inherited from class fi.utu.cs.physics.Boundary
boundaryEpsilon
 
Constructor Summary
CenterIceSpot()
          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

CenterIceSpot

public CenterIceSpot()
A face off spot.

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