| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--CASSEBRIQUE
La classe CASSEBRIQUE est la seule classe créée.
| Inner classes inherited from class java.applet.Applet | 
| java.applet.Applet.AccessibleApplet | 
| Inner classes inherited from class java.awt.Panel | 
| java.awt.Panel.AccessibleAWTPanel | 
| Inner classes inherited from class java.awt.Container | 
| java.awt.Container.AccessibleAWTContainer | 
| Inner classes inherited from class java.awt.Component | 
| java.awt.Component.AccessibleAWTComponent | 
| Fields inherited from class java.awt.Component | 
| BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | 
| Fields inherited from interface java.awt.image.ImageObserver | 
| ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | 
| Constructor Summary | |
| CASSEBRIQUE() | |
| Method Summary | |
|  void | actionPerformed(java.awt.event.ActionEvent e)Gère les actions des boutons | 
|  void | balle()Gère le déplacement de la balle | 
|  void | balleout()Vérifie si balle hors terrain | 
|  void | bombe()Déplacement de la bombe | 
|  void | briquesall()Vérifie si plus de briques | 
|  void | collision()Vérifie si collision avec brique, raquette,monstre,bombe | 
|  void | conv(int x,
     int y,
     int z)Transforme les coordonnées de la balle en N° de brique touchée | 
|  void | findeballe()vérifie si nombre de balles épuisée | 
|  void | init()Définition des images,sons,souris et boutons | 
|  void | monstre()Déplace le monstre | 
|  void | mouseClicked(java.awt.event.MouseEvent e) | 
|  void | mouseDragged(java.awt.event.MouseEvent e) | 
|  void | mouseEntered(java.awt.event.MouseEvent e) | 
|  void | mouseExited(java.awt.event.MouseEvent e) | 
|  void | mouseMoved(java.awt.event.MouseEvent e)Gère le déplacement de la raquette via la souris | 
|  void | mousePressed(java.awt.event.MouseEvent e) | 
|  void | mouseReleased(java.awt.event.MouseEvent e) | 
|  void | mur(int m)initialisation des murs de brique | 
|  void | paint(java.awt.Graphics g) | 
|  void | run()boucle principale. | 
|  void | update(java.awt.Graphics g)Affiche tous les éléments dans un buffer | 
| Methods inherited from class java.applet.Applet | 
| destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop | 
| Methods inherited from class java.awt.Panel | 
| addNotify | 
| Methods inherited from class java.awt.Container | 
| add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, validate, validateTree | 
| Methods inherited from class java.awt.Component | 
| action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public CASSEBRIQUE()
| Method Detail | 
public void init()
init in class java.applet.Appletpublic void run()
run in interface java.lang.Runnablepublic void bombe()
public void monstre()
public void briquesall()
public void balleout()
public void collision()
public void conv(int x,
                 int y,
                 int z)
public void findeballe()
public void balle()
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void paint(java.awt.Graphics g)
paint in class java.awt.Containerpublic void update(java.awt.Graphics g)
update in class java.awt.Containerpublic void mur(int m)
| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||