nl.tudelft.goal.ut2004.translators
Class WeaponPrefTranslator

Package class diagram package WeaponPrefTranslator
java.lang.Object
  extended by nl.tudelft.goal.ut2004.translators.WeaponPrefTranslator
All Implemented Interfaces:
eis.eis2java.translation.Parameter2Java<WeaponPref>

public class WeaponPrefTranslator
extends Object
implements eis.eis2java.translation.Parameter2Java<WeaponPref>

Example: weapon(shock_rifle,primary)
Example: weapon(bio_rifle,primary)]
Example weapon(rocket_launcher,secondary)

Author:
mpkorstanje

Constructor Summary
WeaponPrefTranslator()
           
 
Method Summary
 WeaponPref translate(eis.iilang.Parameter parameter)
           
 Class<WeaponPref> translatesTo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeaponPrefTranslator

public WeaponPrefTranslator()
Method Detail

translate

public WeaponPref translate(eis.iilang.Parameter parameter)
                     throws eis.eis2java.exception.TranslationException
Specified by:
translate in interface eis.eis2java.translation.Parameter2Java<WeaponPref>
Throws:
eis.eis2java.exception.TranslationException

translatesTo

public Class<WeaponPref> translatesTo()
Specified by:
translatesTo in interface eis.eis2java.translation.Parameter2Java<WeaponPref>


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