summaryrefslogtreecommitdiffstats
path: root/Robofactor/Ennemi.pde
diff options
context:
space:
mode:
Diffstat (limited to 'Robofactor/Ennemi.pde')
-rw-r--r--Robofactor/Ennemi.pde16
1 files changed, 16 insertions, 0 deletions
diff --git a/Robofactor/Ennemi.pde b/Robofactor/Ennemi.pde
new file mode 100644
index 0000000..dfb2a0e
--- /dev/null
+++ b/Robofactor/Ennemi.pde
@@ -0,0 +1,16 @@
+abstract class Ennemi extends Entite{ //Un ennemi est une entité. Donc Ennemi hérite de Entité.
+
+ //variables
+
+ //fonctions
+ Ennemi(int startRangee, int xDepart){
+ rangee = startRangee;
+ x = xDepart;
+ xBloc = xDepart;
+ }
+
+ void afficher(){
+ image (avatar, x, y);
+ }
+
+}