|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--fi.utu.cs.physics.Particle
|
+--fi.utu.cs.physics.Boundary
|
+--fi.utu.cs.physics.BoundaryCurve
|
+--fi.utu.cs.hockey.rink.GoalCrease
A goal crease.
| Field Summary |
| Fields inherited from class fi.utu.cs.physics.Boundary |
boundaryEpsilon |
| Constructor Summary | |
GoalCrease(boolean half)
A goal crease. |
|
| Method Summary | |
java.awt.Color |
color()
Returns a Color object that is used for drawing
the outline. |
boolean |
isDrawn()
Returns a boolean value indicating whether the outline of the shape is drawn or not. |
boolean |
isFilled()
Returns a boolean value indicating whether the shape is filled or not. |
java.awt.Paint |
paint()
Returns a Paint object that is used for filling
the shape. |
java.awt.Shape |
shape()
Returns a Shape object that defines the appearance
of the object. |
java.awt.Stroke |
stroke()
Returns a Stroke object that is used for drawing
the outline. |
java.lang.String |
toString()
Returns a string that contains the values of the attributes. |
| 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 |
public GoalCrease(boolean half)
half - In which half of the rink the goal crease is.| Method Detail |
public java.awt.Shape shape()
ShapableShape object that defines the appearance
of the object.
shape in interface ShapableShapepublic boolean isDrawn()
Shapable
isDrawn in interface ShapableShapable.stroke(),
Shapable.color()public java.awt.Stroke stroke()
ShapableStroke object that is used for drawing
the outline.
stroke in interface ShapableShapable.isDrawn(),
Strokepublic java.awt.Color color()
ShapableColor object that is used for drawing
the outline.
color in interface ShapableShapable.isDrawn(),
Colorpublic boolean isFilled()
Shapable
isFilled in interface ShapableShapable.paint()public java.awt.Paint paint()
ShapablePaint object that is used for filling
the shape.
paint in interface ShapableShapable.isFilled(),
Paintpublic java.lang.String toString()
BoundaryCurve
toString in class BoundaryCurve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||