CS
VB, VB.NET
ASP.NET,ASP
C, C++
ColdFusion
PHP
Javascript
Delphi
Flash
Java
Graphisme
Irc
Assembleur
C#
Mobilité
SQL
Foxpro
Python
Regex
Flex
Windev
Ce site au démarrage
Derniers codes
Outils
Divers
Connexion
Visual Basic
ASP
C++
ColdFusion
PHP
Javascript
Delphi
Flash
Java
Graphisme
Irc
Assembleur
C#
Mobilité
SQL
Foxpro
Python
Regex
Flex
Statistiques ;-)
Crédits
>>
Sites CodeS-SourceS
Visual basic
C++
C#
Java
PHP
ASP
ASP.NET
ColdFusion
Delphi
Javascript
Flash
Flex / AIR
Graphisme
Assembleur
IRC
Mobilité
SQL
FoxPro
Python
CodeS-SourceS ToolBox
Convertisseur C#<->VB
Colorisation de Code
Table ASCII
Trouver un fichier de code source :
Version Française -
English Version
Accueil
>
Java
>
JAVABREAK GAME
>
src/comportement/CercleBalleSpeed.java
JAVABREAK GAME
src/comportement/CercleBalleSpeed.java
Informations sur ce code source
Code Source
JAVABREAK GAME
Auteur
fate123
Fichier
src/comportement/CercleBalleSpeed.java en
JAVA / J2EE
Publié le
10/10/2011
Mis à jour le
17/02/2012
C'est un petit casse brique (applet) rien de révolutionnaire qui prend sa source dans les précédents codes, aujourd'hui il a bien évolué. Les évolutions : -approche orienté objet -utilisation d'un pattern Strategy -un nouvel algorithme de collisi
Fichier :
src/comportement/CercleBalleSpeed.java
Nombre de lignes :
32 lignes
Afficher ce fichier en plein écran
/* Copyright (C) 2011 BENMAMMAR FAHEM <fate12346@gmail.com>
This file is part of JAVABREAK GAME.
JAVABREAK GAME is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
JAVABREAK GAME is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with JAVABREAK GAME. If not, see <http://www.gnu.org/licenses/>.
*/
package
comportement;
import
java.awt.*;
public
class
CercleBalleSpeed
extends
CercleBonus {
public
void
onAir (
boolean
active){}
public
void
dessinerUneForme (Graphics g){
g.setColor(Color.CYAN);
g.drawString("
K2000
",positionX, positionY);
// la balle devient verte;
}
}