group1.model.gameobject.projectile
Class Katana

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

public class Katana
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
Katana()
           
 
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

Katana

public Katana()
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