Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MG_Projects
jetpackjoyride
Commits
e13ea5fa
Commit
e13ea5fa
authored
Apr 30, 2019
by
Melissa Tjong
Browse files
Delete Laser.java
parent
da78b496
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/entities/Laser.java
deleted
100644 → 0
View file @
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
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment