pakiet_gra_platformowa
Class Pocisk

java.lang.Object
  extended by javax.microedition.lcdui.game.Layer
      extended by javax.microedition.lcdui.game.Sprite
          extended by pakiet_gra_platformowa.Pocisk

public class Pocisk
extends javax.microedition.lcdui.game.Sprite


Field Summary
static int BOHATER
           
static int WROG
           
 
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
Pocisk(int _nr_planszy_x, javax.microedition.lcdui.Image im, boolean _kierunek, javax.microedition.lcdui.game.TiledLayer _tekstura, int _rodzaj)
           
 
Method Summary
 int getRodzaj()
           
 void ruch()
           
 boolean zakonczone()
           
 
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, setPosition, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOHATER

public static final int BOHATER
See Also:
Constant Field Values

WROG

public static final int WROG
See Also:
Constant Field Values
Constructor Detail

Pocisk

public Pocisk(int _nr_planszy_x,
              javax.microedition.lcdui.Image im,
              boolean _kierunek,
              javax.microedition.lcdui.game.TiledLayer _tekstura,
              int _rodzaj)
Method Detail

zakonczone

public boolean zakonczone()

ruch

public void ruch()

getRodzaj

public int getRodzaj()