Code cleanup
Signed-off-by: officereso <qrs01@snowtx.com>
This commit is contained in:
parent
a7469c079c
commit
7fba7e16e2
@ -13,4 +13,4 @@ public class Colors {
|
||||
static final Color playerBody = new Color(247, 17, 17);
|
||||
static final Color Tires = new Color(0, 0, 0);
|
||||
static final Color NPC1Body = new Color(0, 247, 0);
|
||||
}
|
||||
}
|
@ -76,4 +76,4 @@ public class Main extends Applet {
|
||||
repaint();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
@ -36,18 +36,4 @@ public class NPC1 extends Applet {
|
||||
speed = Expo.random(10, 40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public static void make(Graphics g){
|
||||
int x = Expo.random(100,400);
|
||||
Expo.setColor(g,SpriteColors.NPC1Body);
|
||||
Expo.fillRectangle(g, x, 110, x+35, 170);
|
||||
Expo.setColor(g,SpriteColors.Tires);
|
||||
Expo.fillRectangle(g, x+5, 118, x-5, 138);
|
||||
Expo.fillRectangle(g, x+5, 145, x-5, 165);
|
||||
Expo.fillRectangle(g, x+30, 118, x+40, 138);
|
||||
Expo.fillRectangle(g, x+30, 145, x+40, 165);
|
||||
|
||||
}
|
||||
}*/
|
||||
}
|
@ -36,18 +36,4 @@ public class NPC2 extends Applet {
|
||||
speed = Expo.random(10, 40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public static void make(Graphics g){
|
||||
int x = Expo.random(100,400);
|
||||
Expo.setColor(g,SpriteColors.NPC1Body);
|
||||
Expo.fillRectangle(g, x, 110, x+35, 170);
|
||||
Expo.setColor(g,SpriteColors.Tires);
|
||||
Expo.fillRectangle(g, x+5, 118, x-5, 138);
|
||||
Expo.fillRectangle(g, x+5, 145, x-5, 165);
|
||||
Expo.fillRectangle(g, x+30, 118, x+40, 138);
|
||||
Expo.fillRectangle(g, x+30, 145, x+40, 165);
|
||||
|
||||
}
|
||||
}*/
|
||||
}
|
@ -36,18 +36,4 @@ public class NPC3 extends Applet {
|
||||
speed = Expo.random(10, 40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public static void make(Graphics g){
|
||||
int x = Expo.random(100,400);
|
||||
Expo.setColor(g,SpriteColors.NPC1Body);
|
||||
Expo.fillRectangle(g, x, 110, x+35, 170);
|
||||
Expo.setColor(g,SpriteColors.Tires);
|
||||
Expo.fillRectangle(g, x+5, 118, x-5, 138);
|
||||
Expo.fillRectangle(g, x+5, 145, x-5, 165);
|
||||
Expo.fillRectangle(g, x+30, 118, x+40, 138);
|
||||
Expo.fillRectangle(g, x+30, 145, x+40, 165);
|
||||
|
||||
}
|
||||
}*/
|
||||
}
|
@ -36,18 +36,4 @@ public class NPC4 extends Applet {
|
||||
speed = Expo.random(10, 40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public static void make(Graphics g){
|
||||
int x = Expo.random(100,400);
|
||||
Expo.setColor(g,SpriteColors.NPC1Body);
|
||||
Expo.fillRectangle(g, x, 110, x+35, 170);
|
||||
Expo.setColor(g,SpriteColors.Tires);
|
||||
Expo.fillRectangle(g, x+5, 118, x-5, 138);
|
||||
Expo.fillRectangle(g, x+5, 145, x-5, 165);
|
||||
Expo.fillRectangle(g, x+30, 118, x+40, 138);
|
||||
Expo.fillRectangle(g, x+30, 145, x+40, 165);
|
||||
|
||||
}
|
||||
}*/
|
||||
}
|
@ -36,18 +36,4 @@ public class NPC5 extends Applet {
|
||||
speed = Expo.random(10, 40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public static void make(Graphics g){
|
||||
int x = Expo.random(100,400);
|
||||
Expo.setColor(g,SpriteColors.NPC1Body);
|
||||
Expo.fillRectangle(g, x, 110, x+35, 170);
|
||||
Expo.setColor(g,SpriteColors.Tires);
|
||||
Expo.fillRectangle(g, x+5, 118, x-5, 138);
|
||||
Expo.fillRectangle(g, x+5, 145, x-5, 165);
|
||||
Expo.fillRectangle(g, x+30, 118, x+40, 138);
|
||||
Expo.fillRectangle(g, x+30, 145, x+40, 165);
|
||||
|
||||
}
|
||||
}*/
|
||||
}
|
@ -36,18 +36,4 @@ public class NPC6 extends Applet {
|
||||
speed = Expo.random(10, 40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public static void make(Graphics g){
|
||||
int x = Expo.random(100,400);
|
||||
Expo.setColor(g,SpriteColors.NPC1Body);
|
||||
Expo.fillRectangle(g, x, 110, x+35, 170);
|
||||
Expo.setColor(g,SpriteColors.Tires);
|
||||
Expo.fillRectangle(g, x+5, 118, x-5, 138);
|
||||
Expo.fillRectangle(g, x+5, 145, x-5, 165);
|
||||
Expo.fillRectangle(g, x+30, 118, x+40, 138);
|
||||
Expo.fillRectangle(g, x+30, 145, x+40, 165);
|
||||
|
||||
}
|
||||
}*/
|
||||
}
|
@ -6,4 +6,4 @@ public class SpriteColors {
|
||||
static final Color playerBody = new Color(247, 17, 17);
|
||||
static final Color Tires = new Color(0, 0, 0);
|
||||
static final Color NPC1Body = new Color(0, 247, 0);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user