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);
|
||||
|
||||
public void paint(Graphics g){
|
||||
test(g);
|
||||
Expo.drawHeading(g, "Quentin Snow and Alekkai", "Final Project");
|
||||
|
||||
if (start){
|
||||
Draw.begin(g);
|
||||
}
|
||||
else{
|
||||
Draw.startScreen(g);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public boolean mouseDown(Event e, int x, int y){
|
||||
@ -25,7 +24,12 @@ public class Main extends Applet {
|
||||
start = true;
|
||||
repaint();
|
||||
}
|
||||
|
||||
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.fillRectangle(g, 105, 108, 90, 128);
|
||||
Expo.fillRectangle(g, 105, 108, 90, 128);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user