package org.cloudbus.cloudsim.codes.mygame.leiting.src;

import javax.swing.*;
import java.awt.*;

/**
 * ClassName Bullets
 * Description
 * Create by HW
 * Date 2022/4/5 16:58
 */
public class Bullets {
    public int x=230,y=800;
    int width=30,length=40;
    int speed=10;
    Image img=new ImageIcon("E:\\研究生\\研究生\\论文\\cloudsim学习文档\\cloudsim-5 (2).0\\modules\\cloudsim\\src\\main\\java\\org\\cloudbus\\cloudsim\\codes\\mygame\\leiting\\image/bullet.png").getImage();

    public Bullets(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public Bullets(int x, int y, int width, int length) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.length = length;
    }

    public Bullets(int x, int y, int width, int length, Image img) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.length = length;
        this.img = img;
    }
}
