Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
U
V
W
G
getAliveState()
- Method in class simulation_MVC_Basic.
ShapeSprite
Return this sprite's state with respect to whether it is alive or not.
getAnchor()
- Method in class simulation_MVC_Basic.
ShapeSprite
Returns the anchor point of this sprite
getAngle()
- Method in class simulation_MVC_Basic.
UtilityCircle
returns the angle of the trajectory that travels through the point
getBoundingBox(String, Font, Graphics2D)
- Static method in class simulation_MVC_Basic.
Utility
Returns a bounding box that encapsulates the passed text string, as rendered in the specified font in the specified graphics context.
getBounds2D()
- Method in class simulation_MVC_Basic.
ScoreTallySprite
getBounds2D()
- Method in class simulation_MVC_Basic.
ShapeSprite
getBounds2D()
- Method in class simulation_MVC_Basic.
ShooterSprite
getBounds2D()
- Method in interface simulation_MVC_Basic.
Sprite
This method returns a rectangular box that completely encloses this sprite.
getDiameter()
- Method in class simulation_MVC_Basic.
UtilityCircle
Returns diameter of this circle
getDimension()
- Method in class simulation_MVC_Basic.
ShapeSprite
Returns the dimension of this sprite
getNudgedRandomly()
- Method in class simulation_MVC_Basic.
ShapeSprite
Causes the sprite to get nudged in a random direction.
getPointOnCircumference()
- Method in class simulation_MVC_Basic.
UtilityCircle
getPointsValue()
- Method in class simulation_MVC_Basic.
ScoreTallySprite
getPointsValue()
- Method in class simulation_MVC_Basic.
ShapeSprite
getPointsValue()
- Method in class simulation_MVC_Basic.
ShooterSprite
getPointsValue()
- Method in interface simulation_MVC_Basic.
Sprite
Returns the points value that is associated with hitting this sprite with a projectile
getQuarterOfScreen()
- Static method in class simulation_MVC_Basic.
Utility
This method determines the dimensions of the screen that is being used by the VM and returns a dimension that is half the width and half the height.
getRandomShapeSprite(int, int)
- Static method in class simulation_MVC_Basic.
Utility
This method returns a sprite that is randomly chosen from among the "tubular", "sphere" and "tri-fold" versions.
getRandomValue(int, int)
- Static method in class simulation_MVC_Basic.
Utility
This method returns a displacement value from the range [MIN,...,MAX], where MIN and MAX are taken from the parameters, val1 and val2.
getShapeSprite(int, int)
- Static method in class simulation_MVC_Basic.
Utility
This method returns a "tubular" sprite.
getShooterSprite()
- Method in class simulation_MVC_Basic.
Model
Accessor for this model's shooter sprite.
getWorldDimension()
- Method in class simulation_MVC_Basic.
Model
Returns the dimensions of the game world that is represented by this model.
getXDisplacement()
- Method in class simulation_MVC_Basic.
UtilityCircle
Returns x displacement of p1, as measured in a horizontal line starting at the vertical line passing through the centre point, of p1
getYDisplacement()
- Method in class simulation_MVC_Basic.
UtilityCircle
Returns y displacement of p1, as measured in a vertical line starting at the horizontal line passing through the centre point, of p1
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
P
R
S
T
U
V
W