Skip to content
Permalink
Browse files

I fix

  • Loading branch information
jdm13003 committed Apr 15, 2016
1 parent 8ba4e50 commit 542c0f9f2f9afcbc0f0e4af09f1960d88f48821d
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/Laser.java
@@ -17,12 +17,12 @@ public Laser(double x, double y, Game game){

SpriteSheet ss = new SpriteSheet(game.getSpriteSheet());

laser = ss.grabimage(1, 1, 64, 64);
laser = ss.grabimage(2, 3, 64, 64);
}

public void tick(){
x+=1;
y+=1;
x+=10;
//y+=1;
}
public void render(Graphics g){
g.drawImage(laser, (int)x, (int)y, null);

0 comments on commit 542c0f9

Please sign in to comment.
You can’t perform that action at this time.