|
||||||||||
| 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.BoundaryLine
|
+--fi.utu.cs.hockey.rink.Line
|
+--fi.utu.cs.hockey.rink.GoalNet
A goal net.
| 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 | |
GoalNet(boolean half)
A goal net. |
|
| Method Summary | |
boolean |
isDrawn()
Returns a boolean value indicating whether the outline of the shape is drawn or not. |
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, 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 |
public GoalNet(boolean half)
half - In which half of the rink the line is.| Method Detail |
public boolean isDrawn()
Shapable
isDrawn in interface ShapableisDrawn in class LineShapable.stroke(),
Shapable.color()public java.lang.String toString()
BoundaryLine
toString in class BoundaryLine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||