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:
nl.tudelft.goal.EIS2Java.translation.Parameter2Java<WeaponPref>

public class WeaponPrefTranslator
extends Object
implements nl.tudelft.goal.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 nl.tudelft.goal.EIS2Java.exception.TranslationException
Specified by:
translate in interface nl.tudelft.goal.EIS2Java.translation.Parameter2Java<WeaponPref>
Throws:
nl.tudelft.goal.EIS2Java.exception.TranslationException

translatesTo

public Class<WeaponPref> translatesTo()
Specified by:
translatesTo in interface nl.tudelft.goal.EIS2Java.translation.Parameter2Java<WeaponPref>


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