|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tootsville.user.TooterShooter
public class TooterShooter
WRITEME: The documentation for this type (TooterShooter) is incomplete. (brpocock@star-hope.org, Jan 8, 2010)
| Field Summary | |
|---|---|
private int |
ammoCost
The number of ammo units expended per shot |
private double |
bulletSpeed
The rate at which the bullet moves, in px/s |
private String |
bulletURL
The URL of the bullet artwork |
private Colour |
colour
If the bullet is colourised generally, the colour value to be applied to it. |
private int |
initialAmmo
The amount of ammunition granted for equipping this gun |
private boolean |
isRotatedShot
If true, the bullet artwork is rotated relative to the angle of travel |
private int |
maxAmmo
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) maxAmmo (TooterShooter) |
private int |
maxShots
The maximum number of simultaneous bullets to be traveling |
private int |
myID
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) myID (TooterShooter) |
private String |
playerParticleURL
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) playerParticleURL (TooterShooter) |
private String |
playerSoundURL
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) playerSoundURL (TooterShooter) |
private static long |
serialVersionUID
Java serialisation unique ID |
private int |
shotOffsetX
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) shotOffsetX (TooterShooter) |
private int |
shotOffsetY
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) shotOffsetY (TooterShooter) |
private double |
shotRange
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) shotRange (TooterShooter) |
private double |
shotRate
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) shotRate (TooterShooter) |
private String |
targetParticleURL
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) targetParticleURL (TooterShooter) |
private String |
targetSoundURL
WRITEME: document this field (brpocock@star-hope.org, Jan 8, 2010) targetSoundURL (TooterShooter) |
| Constructor Summary | |
|---|---|
TooterShooter(ResultSet rs)
WRITEME |
|
| Method Summary | |
|---|---|
private int |
getAmmoCost()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private double |
getBulletSpeed()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private String |
getBulletURL()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private Colour |
getColor()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
Colour |
getColour()
|
int |
getID()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private int |
getInitialAmmo()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private int |
getMaxAmmo()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private int |
getMaxShots()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
String |
getPlayerParticleURL()
|
private String |
getPlayerParticuleURL()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private String |
getPlayerSoundURL()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private int |
getShotOffsetX()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private int |
getShotOffsetY()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private double |
getShotRange()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private double |
getShotRate()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private String |
getTargetParticleURL()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private String |
getTargetSoundURL()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private boolean |
hasColour()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
private boolean |
isRotatedShot()
WRITEME: document this method (brpocock@star-hope.org, Jan 8, 2010) |
void |
set(org.json.JSONObject o)
This is an overriding method. |
void |
setAmmoCost(int ammoUsedPerShot)
|
void |
setBulletSpeed(double newBulletSpeed)
|
void |
setBulletURL(String newBulletURL)
|
void |
setColour(Colour newColour)
|
void |
setInitialAmmo(int newInitialAmmo)
|
void |
setMaxAmmo(int newMaxAmmo)
|
void |
setMaxShots(int newMaxShots)
|
void |
setPlayerParticleURL(String newPlayerParticleURL)
|
void |
setPlayerSoundURL(String newPlayerSoundURL)
|
void |
setRotatedShot(boolean newIsRotatedShot)
|
void |
setShotOffsetX(int newShotOffetX)
|
void |
setShotOffsetY(int newShotOffsetY)
|
void |
setShotRange(double newShotRange)
|
void |
setShotRate(double newShotRate)
|
void |
setTargetParticleURL(String newTargetParticleURL)
|
void |
setTargetSoundURL(String newTargetSoundURL)
|
org.json.JSONObject |
toJSON()
This is an overriding method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private int ammoCost
private double bulletSpeed
private String bulletURL
private Colour colour
private int initialAmmo
private boolean isRotatedShot
private int maxAmmo
private int maxShots
private int myID
private String playerParticleURL
private String playerSoundURL
private int shotOffsetX
private int shotOffsetY
private double shotRange
private double shotRate
private String targetParticleURL
private String targetSoundURL
| Constructor Detail |
|---|
TooterShooter(ResultSet rs)
rs - WRITEME| Method Detail |
|---|
private int getAmmoCost()
private double getBulletSpeed()
private String getBulletURL()
private Colour getColor()
public Colour getColour()
public int getID()
private int getInitialAmmo()
private int getMaxAmmo()
private int getMaxShots()
public String getPlayerParticleURL()
private String getPlayerParticuleURL()
private String getPlayerSoundURL()
private int getShotOffsetX()
private int getShotOffsetY()
private double getShotRange()
private double getShotRate()
private String getTargetParticleURL()
private String getTargetSoundURL()
private boolean hasColour()
private boolean isRotatedShot()
public void set(org.json.JSONObject o)
org.starhope.appius.util.CastsToJSON#set(org.json.JSONObject)public void setAmmoCost(int ammoUsedPerShot)
ammoUsedPerShot - the ammoCost to setpublic void setBulletSpeed(double newBulletSpeed)
newBulletSpeed - the bulletSpeed to setpublic void setBulletURL(String newBulletURL)
newBulletURL - the bulletURL to setpublic void setColour(Colour newColour)
newColour - the colour to setpublic void setInitialAmmo(int newInitialAmmo)
newInitialAmmo - the initialAmmo to setpublic void setMaxAmmo(int newMaxAmmo)
newMaxAmmo - the maxAmmo to setpublic void setMaxShots(int newMaxShots)
newMaxShots - the maxShots to setpublic void setPlayerParticleURL(String newPlayerParticleURL)
newPlayerParticleURL - the playerParticleURL to setpublic void setPlayerSoundURL(String newPlayerSoundURL)
newPlayerSoundURL - the playerSoundURL to setpublic void setRotatedShot(boolean newIsRotatedShot)
newIsRotatedShot - the isRotatedShot to setpublic void setShotOffsetX(int newShotOffetX)
newShotOffetX - the shotOffsetX to setpublic void setShotOffsetY(int newShotOffsetY)
newShotOffsetY - the shotOffsetY to setpublic void setShotRange(double newShotRange)
newShotRange - the shotRange to setpublic void setShotRate(double newShotRate)
newShotRate - the shotRate to setpublic void setTargetParticleURL(String newTargetParticleURL)
newTargetParticleURL - the targetParticleURL to setpublic void setTargetSoundURL(String newTargetSoundURL)
newTargetSoundURL - the targetSoundURL to setpublic org.json.JSONObject toJSON()
toJSON in interface CastsToJSONCastsToJSON.toJSON()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||