atomicActions
Class AtomicActionFactory

Package class diagram package AtomicActionFactory
java.lang.Object
  extended by atomicActions.AtomicActionFactory

public final class AtomicActionFactory
extends Object

Atomic action factory produces offsprings of AtomicAction based on their types. It includes just a big switch on their types and returns objects of proper types. It is of course a singleton.

Author:
Ondrej

Method Summary
 AtomicAction getAction(AtomicActions type, Action parent, Bot agent)
           
static AtomicActionFactory getInstace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstace

public static AtomicActionFactory getInstace()

getAction

public AtomicAction getAction(AtomicActions type,
                              Action parent,
                              Bot agent)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.