changeset 2665:f668404a819b gussoundtest

refs #21 @0h15 : Translated file command.h
author Stefan Stammberger <some.fusion@gmail.com>
date Sun, 16 Feb 2014 21:18:42 +0100
parents 1fbca89610f9
children c5411da08688
files src/core/command.h
diffstat 1 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/command.h	Sun Feb 16 20:01:57 2014 +0100
+++ b/src/core/command.h	Sun Feb 16 21:18:42 2014 +0100
@@ -24,7 +24,7 @@
 
 /**
  * \class Command
- * \brief Beschreibt ein Kommando, welches eine Figur erhalten kann. Zur Ausf&uuml;hrung des Kommandos wird die Anweisung in mehrere Aktionen unterteilt, die hintereinander ausgefuehrt werden.
+ * \brief Describes an action which an actor can receive. The execution will be split into multiple actions which will be executed sequentially
  */
 class Command {
 /**
@@ -44,11 +44,11 @@
 	 */
 	/**
 	 * \fn Command(Action::ActionType type, Vector goal, int goal_object_id)
-	 * \brief Konstruktor
-	 * \param type initialisiert den Typ des Kommandos
-	 * \param goal Zielpunkt der Aktion
-	 * \param goal_object_id initialisiert ID des Zielobjekts
-	 * Legt ein neues Command Objekt an
+     * \brief Constructor
+     * \param type Initializes the type of the command
+     * \param goal Goal of the command
+     * \param goal_object_id Initializes the ID of the goal object
+     * Creates a new command object
 	 */
 	Command(Action::ActionType type, Vector goal, int goal_object_id)
 	{
@@ -62,7 +62,7 @@
 
 	/**
 	 * \fn Command()
-	 * \brief Konstruktor
+     * \brief Constructor
 	 */
 	Command()
 	{
@@ -76,27 +76,27 @@
 
 	/**
 	 * \fn void toString(CharConv* cv)
-	 * \brief Konvertiert das Objekt in einen String und schreibt ihn in der Puffer
-	 * \param cv Eingabepuffer
+     * \brief Converts the object into a string and writes it to the buffer
+     * \param cv output buffer
 	 */
 	void toString(CharConv* cv);
 
 	/**
 	 * \fn void fromString(CharConv* cv)
-	 * \brief Erzeugt das Objekt aus einem String
-	 * \param cv Ausgabepuffer
+     * \brief Creates the object from a string
+     * \param cv input buffer
 	 */
 	void fromString(CharConv* cv);
 
 	/**
 	 * \fn bool operator!=(Command& other)
-	 * \brief Vergleichsoperator auf Ungleichheit
+     * \brief not equals operator
 	 */
 	bool operator!=(Command& other);
 
 	/**
 	 * \fn void operator=(Command& other)
-	 * \brief Zuweisungsoperator
+     * \brief assignment operator
 	 */
 	void operator=(Command& other);
 
@@ -105,37 +105,37 @@
 	 */
 	/**
 	 * \var m_type
-	 * \brief Typ des Kommandos
+     * \brief Type of the command
 	 */
 	 Action::ActionType m_type;
 
 	/**
 	 * \var Vector m_goal
-	 * \brief Ziel des Kommandos
+     * \brief Goald of the command
 	 */
 	Vector m_goal;
 
 	/**
 	 * \var m_goal_object_id
-	 * \brief ID des Zielobjekts
+     * \brief ID of the goal object
 	 */
 	int  m_goal_object_id;
 
 	/**
 	 * \var float m_range
-	 * \brief Reichweite der Aktion
+     * \brief Range of the action
 	 */
 	float m_range;
 
 	/**
 	 * \var m_damage_mult;
-	 * \brief Multiplikator auf den Schaden der die Aktion abschließt
+     * \brief Multiplyer to the damage resulting from this action
 	 */
 	float m_damage_mult;
 
 	/**
 	 * \var char m_flags
-	 * \brief bitkodierte Flags
+     * \brief bit encoded flags
 	 */
 	char m_flags;
 	/**