pushed test NPC locomotion again
Signed-off-by: qsnow1845 <qrs01@snowtx.com>
This commit is contained in:
parent
7d72e7bb54
commit
a6ab0c9347
@ -34,6 +34,12 @@ public class Main extends Applet {
|
||||
|
||||
public static void npcLocomotion(Graphics g){
|
||||
project.Sprites.NPC1 npc1 = new project.Sprites.NPC1(g);
|
||||
int v = 70;
|
||||
int y = 100;
|
||||
v++;
|
||||
npc1.make(g,v,y);
|
||||
|
||||
System.out.println(v);
|
||||
}
|
||||
|
||||
|
||||
|
@ -7,7 +7,10 @@ import java.awt.*;
|
||||
|
||||
public class NPC1 extends Applet {
|
||||
public NPC1(Graphics g) {
|
||||
int x = Expo.random(100,400);
|
||||
|
||||
}
|
||||
public static void make(Graphics g, int x, int y){
|
||||
// int x = Expo.random(100,400);
|
||||
Expo.setColor(g,colorsTemp.NPC1Body);
|
||||
Expo.fillRectangle(g, x, 110, x+35, 170);
|
||||
Expo.setColor(g,colorsTemp.Tires);
|
||||
|
Loading…
x
Reference in New Issue
Block a user