eNTitanok.kkkg
Class KkkgAppl.Mozgo

java.lang.Object
  |
  +--eNTitanok.kkkg.KkkgAppl.Helyzet
        |
        +--eNTitanok.kkkg.KkkgAppl.Lathato
              |
              +--eNTitanok.kkkg.KkkgAppl.Mozgo
Direct Known Subclasses:
KkkgAppl.Kisgomboc, KkkgAppl.Szorny
Enclosing class:
KkkgAppl

public abstract static class KkkgAppl.Mozgo
extends KkkgAppl.Lathato


Field Summary
protected  int ero
           
protected  int irany
           
protected  int max_ero
           
 
Fields inherited from class eNTitanok.kkkg.KkkgAppl.Lathato
akti, aktkep, id, kepek, naplozo
 
Fields inherited from class eNTitanok.kkkg.KkkgAppl.Helyzet
H_C1BEN, H_JOBBRA, H_LEFELE, x, y
 
Constructor Summary
KkkgAppl.Mozgo()
           
 
Method Summary
protected abstract  void elfordult()
           
 int halad(int merre)
           
 int halad(int merre, int mennyit)
          Az adott irányba próbál az adott egységnyit haladni.
 int setEro()
           
 int setMax_ero(int max_ero)
           
 
Methods inherited from class eNTitanok.kkkg.KkkgAppl.Lathato
akarsz_e_utkozni, getId, getKepnevek, getKlassz, getReteg, halad, mozgat, naploz, naploz, rarajzol, rarajzolArnyek, setId, setNaplozo, utkozik_e
 
Methods inherited from class eNTitanok.kkkg.KkkgAppl.Helyzet
athelyez, athelyez, getCsucsban, getMeropontban, getX, getY, halad_alap, ketSzomszed, mennyit_mehet, ugrik
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ero

protected int ero

max_ero

protected int max_ero

irany

protected int irany
Constructor Detail

KkkgAppl.Mozgo

public KkkgAppl.Mozgo()
Method Detail

elfordult

protected abstract void elfordult()

setMax_ero

public int setMax_ero(int max_ero)

setEro

public int setEro()

halad

public int halad(int merre,
                 int mennyit)
Az adott irányba próbál az adott egységnyit haladni. Siker esetén `this.elfordult()' meghívódik -- és ha még mérőpontra is ér, akkor ez a tény naplózódik.

halad

public int halad(int merre)