|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.lcdui.game.Layer
javax.microedition.lcdui.game.Sprite
pakiet_gra_platformowa.ObiektRuchomy
pakiet_gra_platformowa.Potworek
public class Potworek
Field Summary |
---|
Fields inherited from class javax.microedition.lcdui.game.Sprite |
---|
TRANS_MIRROR, TRANS_MIRROR_ROT180, TRANS_MIRROR_ROT270, TRANS_MIRROR_ROT90, TRANS_NONE, TRANS_ROT180, TRANS_ROT270, TRANS_ROT90 |
Constructor Summary | |
---|---|
Potworek(javax.microedition.lcdui.Image _obraz,
int _nr_planszy_x,
int _nr_planszy_y,
javax.microedition.lcdui.game.TiledLayer _tekstura,
int _xend,
boolean _kierunek,
Plotno _plotno)
|
Method Summary | |
---|---|
int |
getXend()
|
int |
getXstart()
|
void |
laduj()
|
boolean |
mozeStrzelac()
|
void |
ruch(Pociski pociski)
|
void |
setPosition(int x,
int y)
|
void |
strzel()
|
Methods inherited from class pakiet_gra_platformowa.ObiektRuchomy |
---|
getKierunek, getNrPlanszyX, getNrPlanszyY, podskocz, przesunDol, przesunGora, przesunLewo, przesunPrawo, setKierunek, spadek |
Methods inherited from class javax.microedition.lcdui.game.Sprite |
---|
collidesWith, collidesWith, collidesWith, defineCollisionRectangle, defineReferencePixel, getFrame, getFrameSequenceLength, getRawFrameCount, getRefPixelX, getRefPixelY, nextFrame, paint, prevFrame, setFrame, setFrameSequence, setImage, setRefPixelPosition, setTransform |
Methods inherited from class javax.microedition.lcdui.game.Layer |
---|
getHeight, getWidth, getX, getY, isVisible, move, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Potworek(javax.microedition.lcdui.Image _obraz, int _nr_planszy_x, int _nr_planszy_y, javax.microedition.lcdui.game.TiledLayer _tekstura, int _xend, boolean _kierunek, Plotno _plotno)
Method Detail |
---|
public void setPosition(int x, int y)
setPosition
in class javax.microedition.lcdui.game.Layer
public int getXstart()
public int getXend()
public void ruch(Pociski pociski)
public void strzel()
strzel
in interface WarunkiStrzelania
public void laduj()
laduj
in interface WarunkiStrzelania
public boolean mozeStrzelac()
mozeStrzelac
in interface WarunkiStrzelania
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |