group1.model.gameobject.obstacle
Class HorizontalMovingRightPassThruPlatform

java.lang.Object
  extended by group1.model.gameobject.GameObj
      extended by group1.model.gameobject.obstacle.HorizontalMovingPassThruPlatform
          extended by group1.model.gameobject.obstacle.HorizontalMovingRightPassThruPlatform

public class HorizontalMovingRightPassThruPlatform
extends HorizontalMovingPassThruPlatform

Obstacle: Moving platform that moves horizontally, back and forth, and can be jumped through. Starts off moving right.


Field Summary
 
Fields inherited from class group1.model.gameobject.obstacle.HorizontalMovingPassThruPlatform
ACCEL, MAX_SPEED
 
Fields inherited from class group1.model.gameobject.GameObj
acceleration, ENEMY_TEAM, GRID_SPACE_SIZE, id, isMovable, JEFF_TEAM, myState, NO_TEAM, regions, shape, THICKNESS, velocity
 
Constructor Summary
HorizontalMovingRightPassThruPlatform(double x, double y, PictureList p)
          Constructor.
 
Method Summary
 
Methods inherited from class group1.model.gameobject.obstacle.HorizontalMovingPassThruPlatform
move
 
Methods inherited from class group1.model.gameobject.GameObj
addRegion, addRegion, equals, getAcceleration, getAccelerationX, getAccelerationY, getFilm, getHeight, getID, getNumRegions, getPictureList, getPosition, getPositionX, getPositionY, getRectangle, getRegion, getState, getTeam, getVelocity, getVelocityX, getVelocityY, getWidth, giveDamage, intersectRegions, isMovable, isSameState, makeBottomSideRegion, makeLeftSideRegion, makeRegions, makeRightSideRegion, makeSolid, makeSolidTop, makeTopSideRegion, playAudio, resizeBottomRegion, resizeLeftRegion, resizeRightRegion, resizeTopRegion, setAcceleration, setAcceleration, setAccelerationX, setAccelerationY, setID, setPictureList, setPosition, setPosition, setPositionX, setPositionY, setRectangle, setSize, setState, setTeam, setVelocity, setVelocity, setVelocityX, setVelocityY, shouldBeBlinking, stopHorizontal, stopVertical
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalMovingRightPassThruPlatform

public HorizontalMovingRightPassThruPlatform(double x,
                                             double y,
                                             PictureList p)
Constructor.

Parameters:
x - The x-position.
y - The y-position.
p - The picture list.