|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apogames.entity.ApoEntity
org.apogames.entity.ApoAnimation
apoSkunkman.entity.ApoSkunkmanEntity
apoSkunkman.entity.ApoSkunkmanSkunkman
public class ApoSkunkmanSkunkman
Klasse, die ein "Stinktier" repräsentiert
| Constructor Summary | |
|---|---|
ApoSkunkmanSkunkman(java.awt.image.BufferedImage pic,
float x,
float y,
float width,
float height,
int player,
int skunkWidth)
|
|
| Method Summary | |
|---|---|
int |
getPlayer()
gibt zurück, welcher Player das Stinktier gelegt hat |
int |
getSkunkWidth()
gibt zurück, wie groß der Radius des "Stinkens" ist |
int |
getTimeToExplosion()
Zeit, die noch vergehen muss bis der Skunkman hochgeht |
boolean |
shouldExplode()
gibt zurück, ob das Stinktier nun "hochgeht" oder nicht |
void |
think(int delta)
wird jeden Zyklus einmal aufgerufen, und schaut, ob genügend Zeit vergangen ist, um ein neues Frame anzuzeigen |
| Methods inherited from class org.apogames.entity.ApoAnimation |
|---|
getCurTime, getDirection, getFrame, getImages, getTiles, getTime, init, isBAnimation, isBLoop, render, render, setBAnimation, setBLoop, setCurTime, setDirection, setFrame, setTiles, setTime |
| Methods inherited from class org.apogames.entity.ApoEntity |
|---|
checkOpaqueColorCollisions, contains, contains, getHeight, getIBackground, getRec, getStartX, getStartY, getVelocityX, getVelocityY, getWidth, getX, getXMiddle, getY, intersects, intersects, intersects, isBClose, isBOpaque, isBSelect, isBUse, isBVisible, render, setBClose, setBOpaque, setBSelect, setBUse, setBVisible, setHeight, setIBackground, setStartX, setStartY, setVelocityX, setVelocityY, setWidth, setX, setY |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApoSkunkmanSkunkman(java.awt.image.BufferedImage pic,
float x,
float y,
float width,
float height,
int player,
int skunkWidth)
| Method Detail |
|---|
public int getTimeToExplosion()
public final int getSkunkWidth()
public final int getPlayer()
public final boolean shouldExplode()
public void think(int delta)
ApoAnimation
think in class ApoAnimation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||