Commit 0ea412a7 authored by nargessalehi98's avatar nargessalehi98

Add prize boolean.

parent 9146f232
import java.awt.geom.Ellipse2D;
import java.awt.image.BufferedImage;
public class Bullet {
int x;
int y;
double rotateAmountBullet;
int damage;
boolean alive;
public Bullet(int x, int y, double rotateAmountBullet, int damage) {
this.x = x;
this.y = y;
this.rotateAmountBullet = rotateAmountBullet;
this.damage = damage;
alive=true;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment