From: <aki...@us...> - 2006-12-17 00:09:43
|
Revision: 1121 http://svn.sourceforge.net/gridarta/?rev=1121&view=rev Author: akirschbaum Date: 2006-12-16 16:09:44 -0800 (Sat, 16 Dec 2006) Log Message: ----------- Unify comments. Modified Paths: -------------- trunk/crossfire/src/cfeditor/CopyBuffer.java trunk/daimonin/src/daieditor/CopyBuffer.java Modified: trunk/crossfire/src/cfeditor/CopyBuffer.java =================================================================== --- trunk/crossfire/src/cfeditor/CopyBuffer.java 2006-12-17 00:06:13 UTC (rev 1120) +++ trunk/crossfire/src/cfeditor/CopyBuffer.java 2006-12-17 00:09:44 UTC (rev 1121) @@ -330,11 +330,11 @@ * Add an archetype to the destination map. Inserts a new object instance * for default archetypes, and a clone for non-default archetypes. * If <var>allowDouble</var> is <code>false</code> and <var>gameObject</var> is an {@link net.sf.gridarta.gameobject.Archetype}, the object will only be inserted if there wasn't already an object with the same Archetype. - * @param mapControl MapControl of the destination map. - * @param gameObject GameObject to add. - * @param pos Position of MapSquare to add GameObject to. - * @param allowDouble <code>true</code> if insertion of multiple instances of the same Archetype should be allowed, otherwise <code>false</code> - * @param fillBelow <code>true</code> if insertion should happen below other objects on the same MapSquare, <code>false</code> to insert above other objects. + * @param mapControl MapControl of the map the object should be added to. + * @param gameObject GameObject to add. + * @param pos position to add GameObject at + * @param allowDouble <code>true</code> for allowing similar GameObjects on the same square, <code>false</code> to disallow + * @param fillBelow <code>true</code> if the GameObject should be added below all others, <code>false</code> for above */ private void addArchToMap(final MapControl mapControl, final GameObject gameObject, final Point pos, final boolean allowDouble, final boolean fillBelow) { if (gameObject.isArchetype()) { Modified: trunk/daimonin/src/daieditor/CopyBuffer.java =================================================================== --- trunk/daimonin/src/daieditor/CopyBuffer.java 2006-12-17 00:06:13 UTC (rev 1120) +++ trunk/daimonin/src/daieditor/CopyBuffer.java 2006-12-17 00:09:44 UTC (rev 1121) @@ -458,11 +458,12 @@ /** * Add an archetype to the destination map. Inserts a new object instance * for default archetypes, and a clone for non-default archetypes. - * @param mapControl MapControl of the map the object should be added to. - * @param gameObject GameObject to add. - * @param pos Position to add GameObject at. - * @param allowDouble <code>true</code> for allowing similar GameObjects on the same square, <code>false</code> to disallow. - * @param fillBelow <code>true</code> if the GameObject should be added below all others, <code>false</code> for above. + * If <var>allowDouble</var> is <code>false</code> and <var>gameObject</var> is an {@link net.sf.gridarta.gameobject.Archetype}, the object will only be inserted if there wasn't already an object with the same Archetype. + * @param mapControl MapControl of the map the object should be added to. + * @param gameObject GameObject to add. + * @param pos position to add GameObject at + * @param allowDouble <code>true</code> for allowing similar GameObjects on the same square, <code>false</code> to disallow + * @param fillBelow <code>true</code> if the GameObject should be added below all others, <code>false</code> for above */ private void addArchToMap(final MapControl mapControl, final GameObject gameObject, final Point pos, final boolean allowDouble, final boolean fillBelow) { if (gameObject.isArchetype()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |