|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcz.nipax.hippo.pexeso.AI
cz.nipax.hippo.pexeso.AI_human
public class AI_human
Makes possible for human to play. Simply takes user input and pretends it is turn from AI.
| Field Summary |
|---|
| Fields inherited from class cz.nipax.hippo.pexeso.AI |
|---|
DEBUG, m_killed, m_pg, MOVESLEEP |
| Constructor Summary | |
|---|---|
AI_human(Playground pg)
Simple contructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getname()
Get name of AI. |
void |
userinput(int x,
int y)
Passes user input to Playground. |
| Methods inherited from class cz.nipax.hippo.pexeso.AI |
|---|
ivalidate, kill, onturn, println, revealed, setSleep |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AI_human(Playground pg)
| Method Detail |
|---|
public java.lang.String getname()
getname in class AI
public void userinput(int x,
int y)
Playground. Simply
pretends that AI computed move.
userinput in class AIx - x coordinate of clicky - y coortinate of click
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||