jurpe.ai
Class MonsterAI

java.lang.Object
  extended by jurpe.ai.MonsterAI

public class MonsterAI
extends java.lang.Object

Monster Artificial Intelligence.

Author:
Alessio Saltarin
See Also:
AI

Constructor Summary
MonsterAI(DualCombat cdc)
          Initiates Artificial Intelligence relative to a Dual Combat
 
Method Summary
 java.lang.String[] getAvailableCommands()
           
 ICommand getChoosenCommand()
          Returns a command choosen by AI
 DualCombat getDualCombat()
           
static void test()
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonsterAI

public MonsterAI(DualCombat cdc)
Initiates Artificial Intelligence relative to a Dual Combat

Parameters:
cdc - DualCombat in which one combatant is artificial life.
See Also:
DualCombat
Method Detail

getChoosenCommand

public ICommand getChoosenCommand()
Returns a command choosen by AI

Returns:
choosen command, seen the context

test

public static void test()
Deprecated. 

For test purposes only.


getAvailableCommands

public java.lang.String[] getAvailableCommands()
Returns:
Available Commands

getDualCombat

public DualCombat getDualCombat()
Returns:
Dual Combat handle

Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net