Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## madkit.demos.gpong
Class PongBall

    java.lang.Object
      madkit.demos.gpong.PongBall

    public class PongBall

extends java.lang.Object

Constructor Summary
`PongBall(GPongGUI disp, int xp, int yp)`

Method Summary
`void` | `display(java.awt.Graphics g)`
`int` | `getXSpeed()`
`int` | `getYPos()`
`void` | `isBallOut()`
`void` | `move()`
`void` | `testForCollisionComputer(madkit.demos.gpong.ComputerPlayer computer)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PongBall

    public PongBall(GPongGUI disp,
                    int xp,
                    int yp)

Method Detail

### getXSpeed

    public int getXSpeed()

### getYPos

    public int getYPos()

### move

    public void move()

### isBallOut

    public void isBallOut()

### testForCollisionComputer

    public void testForCollisionComputer(madkit.demos.gpong.ComputerPlayer computer)

### display

    public void display(java.awt.Graphics g)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.