Class FireFlower
java.lang.Object
ch.idsia.benchmark.mario.engine.sprites.Sprite
ch.idsia.benchmark.mario.engine.sprites.FireFlower
public class FireFlower extends Sprite
-
Field Summary
Fields Modifier and Type Field Description boolean
avoidCliffs
int
facing
Fields inherited from class ch.idsia.benchmark.mario.engine.sprites.Sprite
AIR_INERTIA, creaturesGravity, GROUND_INERTIA, hPic, iceCoeff, kind, KIND_BULLET_BILL, KIND_COIN_ANIM, KIND_ENEMY_FLOWER, KIND_FIRE_FLOWER, KIND_FIREBALL, KIND_GOOMBA, KIND_GOOMBA_WINGED, KIND_GREEN_KOOPA, KIND_GREEN_KOOPA_WINGED, KIND_GREEN_MUSHROOM, KIND_MARIO, KIND_MUSHROOM, KIND_NONE, KIND_PARTICLE, KIND_PRINCESS, KIND_RED_KOOPA, KIND_RED_KOOPA_WINGED, KIND_SHELL, KIND_SPARCLE, KIND_SPIKY, KIND_SPIKY_WINGED, KIND_UNDEF, KIND_WAVE_GOOMBA, layer, mapX, mapY, prevSheet, sheet, spriteContext, spriteTemplate, visible, windCoeff, wPic, x, xa, xFlipPic, xOld, xPic, xPicO, y, ya, yFlipPic, yOld, yPic, yPicO
-
Constructor Summary
Constructors Constructor Description FireFlower(LevelScene world, int x, int y)
-
Method Summary
Modifier and Type Method Description void
collideCheck()
void
move()
Methods inherited from class ch.idsia.benchmark.mario.engine.sprites.Sprite
bumpCheck, fireballCollideCheck, getNameByKind, iceScale, isDead, release, render, setCreaturesGravity, setCreaturesIce, setCreaturesWind, shellCollideCheck, tick, tickNoMove, windScale
-
Field Details
-
facing
public int facing -
avoidCliffs
public boolean avoidCliffs
-
-
Constructor Details
-
Method Details
-
collideCheck
public void collideCheck()- Overrides:
collideCheck
in classSprite
-
move
public void move()
-