public class BomberRandomMissile extends SpawnPoint
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
stypeMissile |
counter, itype, prob, spawnorientation, stype, totalautotiling, bucket, bucketSharp, color, cooldown, currentFrame, draw_arrow, frameRate, frameRemaining, friction, gravity, healthPoints, hidden, hMult, image, images, img, invisible, is_avatar, is_from_avatar, is_npc, is_oriented, is_resource, is_static, is_stochastic, isFirstTick, itypes, jump_strength, lastmove, lastrect, limitHealthPoints, mass, max_speed, maxHealthPoints, name, on_ground, only_active, orientation, orientedImg, physics, physicstype, portal, randomtiling, rect, resources, rotateInPlace, rotation, shrinkfactor, singleton, size, solid, speed, spriteID, stationary, timeToLive, wMult| Constructor and Description |
|---|
BomberRandomMissile() |
BomberRandomMissile(Vector2d position,
java.awt.Dimension size,
SpriteContent cnt) |
| Modifier and Type | Method and Description |
|---|---|
VGDLSprite |
copy()
Creates a copy of this sprite.
|
void |
copyTo(VGDLSprite target)
Copies the attributes of this object to the one passed as parameter.
|
protected void |
loadDefaults()
Loads the default values for this sprite.
|
void |
update(Game game)
Updates this sprite, performing the movements and actions for the next step.
|
void |
updateItype(int itype,
int newitype)
Updates missile itype with newitype
|
getDependentSprites, postProcess_draw, _drawHealthBar, _drawImage, _drawOriented, _drawResources, _updateOrientation, _updatePos, _updateRotation, _velocity, draw, equiv, getAmountResource, getLastPosition, getPosition, getType, groundIntersects, init, intersects, is_disabled, lastDirection, loadImage, modifyResource, parseParameters, preMovement, removeResource, setDisabled, setFromAvatar, setRect, setRect, subtractResource, toString, updateAvatar, updateBucket, updatePassivepublic BomberRandomMissile()
public BomberRandomMissile(Vector2d position, java.awt.Dimension size, SpriteContent cnt)
protected void loadDefaults()
VGDLSpriteloadDefaults in class SpawnPointpublic void update(Game game)
VGDLSpriteupdate in class SpawnPointgame - the current game that is being played.public void updateItype(int itype,
int newitype)
updateItype in class SpawnPointitype - - current type of missilenewitype - - new type of missile to replace the firstpublic VGDLSprite copy()
VGDLSpritecopy in class SpawnPointpublic void copyTo(VGDLSprite target)
VGDLSpritecopyTo in class SpawnPointtarget - the sprite to copy to.