added test method for team
Signed-off-by: qsnow1845 <qrs01@snowtx.com>
This commit is contained in:
parent
684bac312f
commit
debd6803b7
@ -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
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user