Show OrderChanger.java syntax highlighted
/*
* Copyright (C) 2000-2004 Roger Butenuth, Andreas Gampe,
* Stefan Goetz, Sebastian Pappert,
* Klaas Prause, Enno Rehling,
* Sebastian Tusk, Ulrich Kuester,
* Ilja Pavkovic
*
* This file is part of the Eressea Java Code Base, see the
* file LICENSING for the licensing information applying to
* this file.
*
*/
package com.eressea.gamebinding;
import com.eressea.Unit;
import com.eressea.UnitContainer;
/**
* TODO: DOCUMENT ME!
*
* @author $author$
* @version $Revision: 305 $
*/
public interface OrderChanger {
/**
* TODO: DOCUMENT ME!
*
* @param unit TODO: DOCUMENT ME!
* @param newstate TODO: DOCUMENT ME!
*/
public void addCombatOrder(Unit unit, int newstate);
/**
* Adds a command line "DESCRIBE uc \"descr\"" ("BESCHREIBE uc \"descr\"") , e.g. "DESCRIBE
* SHIP \"A wonderful small boat.\"" ("BESCHREIBE SCHIFF \"Ein wundervolles kleines Boot.\"")
* to the given unit. See EMapDetailsPanel.
*/
public void addDescribeUnitContainerOrder(Unit unit, UnitContainer uc, String descr);
/**
* Adds a command line "DESCRIBE UNIT \"descr\"" ("BESCHREIBE EINHEIT \"descr\"") , e.g.
* "DESCRIBE UNIT \"A wonderful sailor.\"" ("BESCHREIBE EINHEIT \"Ein wundervoller Segler.\"")
* to the given unit. See EMapDetailsPanel.
*/
public void addDescribeUnitOrder(Unit unit, String descr);
/**
* Adds a command line "DESCRIBE PRIVATE \"descr\"" ("BESCHREIBE PRIVAT \"descr\"") , e.g.
* "DESCRIBE PRIVATE \"My spy!.\"" ("BESCHREIBE PRIVAT \"Mein Spion!\"") to the given unit.
* See EMapDetailsPanel.
*/
public void addDescribeUnitPrivateOrder(Unit unit, String descr);
/**
* Adds a command line "HIDE newstate" ("TARNE newstate") , e.g. "HIDE 3" ("TARNE 3") to the
* given unit. See EMapDetailsPanel.
*/
public void addHideOrder(Unit unit, String level);
/**
* Adds a command line "NAME UNIT \"name\"" ("BENENNE EINHEIT \"name\"") , e.g. "NAME UNIT
* \"Magellan.\"" ("BENENNE EINHEIT \"Magellan.\"") to the given unit. See EMapDetailsPanel.
*/
public void addNamingOrder(Unit unit, String name);
/**
* Adds a command line "NAME uc \"name\"" ("BENENNE uc \"name\"") , e.g. "NAME SHIP \"Santa
* Barbara.\"" ("BENENNE SCHIFF \"Santa Barbara.\"") to the given unit. See EMapDetailsPanel.
*/
public void addNamingOrder(Unit unit, UnitContainer uc, String name);
/**
* TODO: DOCUMENT ME!
*
* @param u TODO: DOCUMENT ME!
* @param amount TODO: DOCUMENT ME!
*/
public void addRecruitOrder(Unit u, int amount);
// for UnitContextMenu
/**
* Adds command lines for hiding all that could identify this unit, like name, number, description etc.
*
* @param u The affected unit.
*/
public void addMultipleHideOrder(Unit u);
}
See more files for this project here