added test method for team

Signed-off-by: qsnow1845 <qrs01@snowtx.com>
This commit is contained in:
qsnow1845 2019-05-21 14:44:31 -05:00
parent 684bac312f
commit debd6803b7
2 changed files with 9 additions and 3 deletions

View File

@ -9,15 +9,14 @@ public class Main extends Applet {
private Rectangle startBtn = new Rectangle(100,100,340,600); private Rectangle startBtn = new Rectangle(100,100,340,600);
public void paint(Graphics g){ public void paint(Graphics g){
test(g);
Expo.drawHeading(g, "Quentin Snow and Alekkai", "Final Project"); Expo.drawHeading(g, "Quentin Snow and Alekkai", "Final Project");
if (start){ if (start){
Draw.begin(g); Draw.begin(g);
} }
else{ else{
Draw.startScreen(g); Draw.startScreen(g);
} }
} }
public boolean mouseDown(Event e, int x, int y){ public boolean mouseDown(Event e, int x, int y){
@ -25,7 +24,12 @@ public class Main extends Applet {
start = true; start = true;
repaint(); repaint();
} }
return true; return true;
} }
public static void test(Graphics g){
// put testing code and calls here
}
} }

View File

@ -12,5 +12,7 @@ public class player extends Applet {
Expo.setColor(g,colorsTemp.Tires); Expo.setColor(g,colorsTemp.Tires);
Expo.fillRectangle(g, 105, 108, 90, 128); Expo.fillRectangle(g, 105, 108, 90, 128);
Expo.fillRectangle(g, 105, 108, 90, 128); Expo.fillRectangle(g, 105, 108, 90, 128);
} }
} }