unc.cdva.interactiveitems
Class ItemsBean

java.lang.Object
  extended by unc.cdva.interactiveitems.ItemsBean

public class ItemsBean
extends java.lang.Object

A conveniance class that acts as a transport between the items manager and the 3d rendering stuff.

Author:
Guillaume Conte

Constructor Summary
ItemsBean()
          Default constructor, no initialization done, all data is null and needs to be set.
ItemsBean(ItemsBean bean)
          Copy constructor - creates a deep copy.
 
Method Summary
 java.util.Vector<Gun> getGuns()
           
 PathwayEnd getPathwayEnd()
           
 java.util.Vector<Projectile> getProjectiles()
           
 java.util.Vector<RangeCar> getRangeCars()
           
 java.util.Vector<Reticle> getReticles()
           
 java.util.Vector<Target> getTargets()
           
 void setGuns(java.util.Vector<Gun> guns)
          Sets the gun objects in the bean (does not create a copy).
 void setPathwayEnd(PathwayEnd pathwayEnd)
          Sets the pathway end object (does not create a copy).
 void setProjectiles(java.util.Vector<Projectile> projectiles)
          Sets the projectiles objects in the bean (does not create a copy)
 void setRangeCars(java.util.Vector<RangeCar> rangeCars)
          Sets the range car objects in the bean (does not create a copy)
 void setReticles(java.util.Vector<Reticle> reticles)
          Sets the reticles objects in the bean (does not create a copy)
 void setTargets(java.util.Vector<Target> targets)
          Sets the targets objects in the bean (does not create a copy)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemsBean

public ItemsBean()
Default constructor, no initialization done, all data is null and needs to be set.


ItemsBean

public ItemsBean(ItemsBean bean)
Copy constructor - creates a deep copy.

Parameters:
bean - The bean to create a copy of.
Method Detail

getGuns

public java.util.Vector<Gun> getGuns()
Returns:
Returns a vector of gun objects.

getPathwayEnd

public PathwayEnd getPathwayEnd()
Returns:
A pathway end object (the dam)

getProjectiles

public java.util.Vector<Projectile> getProjectiles()
Returns:
A vector of projectile objects.

getRangeCars

public java.util.Vector<RangeCar> getRangeCars()
Returns:
A vector of range car objects.

getReticles

public java.util.Vector<Reticle> getReticles()
Returns:
A vector of reticle objects.

getTargets

public java.util.Vector<Target> getTargets()
Returns:
A vector of target objects.

setGuns

public void setGuns(java.util.Vector<Gun> guns)
Sets the gun objects in the bean (does not create a copy).

Parameters:
guns - A vector of gun objects.

setPathwayEnd

public void setPathwayEnd(PathwayEnd pathwayEnd)
Sets the pathway end object (does not create a copy).

Parameters:
pathwayEnd - the pathway end

setProjectiles

public void setProjectiles(java.util.Vector<Projectile> projectiles)
Sets the projectiles objects in the bean (does not create a copy)

Parameters:
projectiles - A vector of projectile objects.

setRangeCars

public void setRangeCars(java.util.Vector<RangeCar> rangeCars)
Sets the range car objects in the bean (does not create a copy)

Parameters:
rangeCars - A vector of rangeCars.

setReticles

public void setReticles(java.util.Vector<Reticle> reticles)
Sets the reticles objects in the bean (does not create a copy)

Parameters:
reticles - A vector of reticles objects.

setTargets

public void setTargets(java.util.Vector<Target> targets)
Sets the targets objects in the bean (does not create a copy)

Parameters:
targets - A vector of targets.