Commit e13ea5fa authored by Melissa Tjong's avatar Melissa Tjong
Browse files

Delete Laser.java

parent da78b496
/* *****************************************
* CSCI205 - Software Engineering and Design
* Spring 2019
*
* Name: Aditi Vijayvergia, Melissa Tjong, Mitch Gavars, and Nick Bindela
* Date: Apr 21, 2019
* Time: 8:27:24 PM
*
* Project: csci205FinalProject_SP19
* Package: entities
* File: Laser
* Description:
*
* ****************************************
*/
package entities;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import project.Level1;
/**
*
* @author njb013
*/
public class Laser extends Entity {
boolean isPrimed;
@Override
public void render(GameContainer gc, Graphics g) {
}
public void update(GameContainer gc, int delta) {
}
@Override
public void init() {
width = 370;
height = 39;
x = Level1.WIDTH;
//y = (float) (Math.random() * (Level1.HEIGHT - height));
y = 650;
try {
image = new Image("Images/laser_on.png");
image = image.getScaledCopy((int) width, (int) height);
} catch (SlickException ex) {
Logger.getLogger(Laser.class.getName()).log(Level.SEVERE, null, ex);
}
}
}
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