group1.model.gameobject.projectile
Class Laser

java.lang.Object
  extended by group1.model.gameobject.GameObj
      extended by group1.model.gameobject.projectile.Projectile
          extended by group1.model.gameobject.projectile.Laser

public class Laser
extends Projectile


Field Summary
 
Fields inherited from class group1.model.gameobject.GameObj
acceleration, ENEMY_TEAM, GRID_SPACE_SIZE, id, isMovable, JEFF_TEAM, NO_TEAM, regions, shape, velocity
 
Constructor Summary
Laser()
           
 
Method Summary
 char getDamageType()
          Returns a letter code indicating the type of damage that this Projectile gives.
 
Methods inherited from class group1.model.gameobject.projectile.Projectile
findObjRegion, getAttackPower, getBottomObjRegion, getDirection, getLeftObjRegion, getRightObjRegion, getSpeed, getTopObjRegion, getVelocityVector, move, setAttackPower, setDirection, setSpeed
 
Methods inherited from class group1.model.gameobject.GameObj
addRegion, addRegion, equals, getAcceleration, getAccelerationX, getAccelerationY, getFilm, getFilm, getHeight, getID, getNumRegions, getPictureList, getPosition, getPositionX, getPositionY, getRectangle, getRegion, getState, getTeam, getVelocity, getVelocityX, getVelocityY, getWidth, intersectRegions, isMovable, isSameState, makeRegions, makeSolid, makeSolidTop, setAcceleration, setAcceleration, setAccelerationX, setAccelerationY, setID, setPictureList, setPosition, setPosition, setPositionX, setPositionY, setRectangle, setSize, setState, setTeam, setVelocity, setVelocity, setVelocityX, setVelocityY, stopHorizontal, stopVertical
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Laser

public Laser()
Method Detail

getDamageType

public char getDamageType()
Returns a letter code indicating the type of damage that this Projectile gives. This is a property of the specific subclass of Projectile. By default, Projectile (the superclass) returns ' ' for nothing.

Overrides:
getDamageType in class Projectile