mud4j-commit Mailing List for mud4j (Page 6)
Status: Pre-Alpha
Brought to you by:
mpurland
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(57) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(31) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(20) |
Jul
|
Aug
|
Sep
(1) |
Oct
(14) |
Nov
(2) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <mpu...@us...> - 2006-12-23 17:09:04
|
Revision: 36
http://mud4j.svn.sourceforge.net/mud4j/?rev=36&view=rev
Author: mpurland
Date: 2006-12-23 09:09:00 -0800 (Sat, 23 Dec 2006)
Log Message:
-----------
Make effect methods throw EffectException.
Modified Paths:
--------------
trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractEffect.java
Modified: trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractEffect.java
===================================================================
--- trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractEffect.java 2006-12-23 17:08:27 UTC (rev 35)
+++ trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractEffect.java 2006-12-23 17:09:00 UTC (rev 36)
@@ -52,10 +52,10 @@
/**
* {@inheritDoc}
*/
- abstract public void undo();
+ abstract public void undo() throws EffectException;
/**
* {@inheritDoc}
*/
- abstract public void apply();
+ abstract public void apply() throws EffectException;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mpu...@us...> - 2006-12-23 17:08:29
|
Revision: 35
http://mud4j.svn.sourceforge.net/mud4j/?rev=35&view=rev
Author: mpurland
Date: 2006-12-23 09:08:27 -0800 (Sat, 23 Dec 2006)
Log Message:
-----------
Add comments.
Modified Paths:
--------------
trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractItemEffect.java
Modified: trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractItemEffect.java
===================================================================
--- trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractItemEffect.java 2006-12-23 17:07:21 UTC (rev 34)
+++ trunk/mud4j-core/src/java/net/sf/mud4j/effect/AbstractItemEffect.java 2006-12-23 17:08:27 UTC (rev 35)
@@ -19,8 +19,13 @@
import net.sf.mud4j.world.item.Item;
/**
+ * Abstract item effect imlementation to implement all
+ * necessary functionality for an extending class to use
+ * and implement business item effect data. Extending
+ * from this class will provide the class with core item
+ * effect functionality.
+ *
* @author Matthew Purland
- *
*/
public class AbstractItemEffect extends AbstractEffect implements ItemEffect {
// Item that the effect will affect.
@@ -41,7 +46,7 @@
* {@inheritDoc}
*/
@Override
- public void apply() {
+ public void apply() throws EffectException {
item.getEffectBehavior().addEffect(this);
}
@@ -49,7 +54,7 @@
* {@inheritDoc}
*/
@Override
- public void undo() {
+ public void undo() throws EffectException {
item.getEffectBehavior().removeEffect(this);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mpu...@us...> - 2006-12-23 17:07:22
|
Revision: 34
http://mud4j.svn.sourceforge.net/mud4j/?rev=34&view=rev
Author: mpurland
Date: 2006-12-23 09:07:21 -0800 (Sat, 23 Dec 2006)
Log Message:
-----------
Use @todo tags.
Modified Paths:
--------------
trunk/mud4j-core/src/java/net/sf/mud4j/effect/Effect.java
Modified: trunk/mud4j-core/src/java/net/sf/mud4j/effect/Effect.java
===================================================================
--- trunk/mud4j-core/src/java/net/sf/mud4j/effect/Effect.java 2006-12-23 17:06:57 UTC (rev 33)
+++ trunk/mud4j-core/src/java/net/sf/mud4j/effect/Effect.java 2006-12-23 17:07:21 UTC (rev 34)
@@ -19,10 +19,9 @@
/**
* Effect to provide addon effects for specific objects.
*
- * TODO use decorator pattern with effects with characters and items and others
+ * @todo use decorator pattern with effects with characters and items and others
*
* @author Matthew Purland
- *
*/
public interface Effect {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mpu...@us...> - 2006-12-23 17:06:58
|
Revision: 33
http://mud4j.svn.sourceforge.net/mud4j/?rev=33&view=rev
Author: mpurland
Date: 2006-12-23 09:06:57 -0800 (Sat, 23 Dec 2006)
Log Message:
-----------
Make a location effectable.
Modified Paths:
--------------
trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java
Modified: trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java
===================================================================
--- trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java 2006-12-23 17:05:51 UTC (rev 32)
+++ trunk/mud4j-core/src/java/net/sf/mud4j/world/Location.java 2006-12-23 17:06:57 UTC (rev 33)
@@ -18,7 +18,9 @@
import java.util.List;
+import net.sf.mud4j.effect.Effectable;
+
/**
* Location interface to define an IS-A relationship for
* those objects who are a location and for objects that
@@ -29,9 +31,8 @@
* @see Placeable
*
* @author Matthew Purland
- *
*/
-public interface Location {
+public interface Location extends Effectable {
/**
* Add a direction to the location.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mpu...@us...> - 2006-12-23 17:05:53
|
Revision: 32
http://mud4j.svn.sourceforge.net/mud4j/?rev=32&view=rev
Author: mpurland
Date: 2006-12-23 09:05:51 -0800 (Sat, 23 Dec 2006)
Log Message:
-----------
Update todo.
Modified Paths:
--------------
trunk/mud4j-core/doc/todo.txt
Modified: trunk/mud4j-core/doc/todo.txt
===================================================================
--- trunk/mud4j-core/doc/todo.txt 2006-12-18 20:42:08 UTC (rev 31)
+++ trunk/mud4j-core/doc/todo.txt 2006-12-23 17:05:51 UTC (rev 32)
@@ -26,4 +26,9 @@
* Allow a trackable map for the character to have.
* Implement composite pattern for items. Treat a collection of items
- the same as a single item.
\ No newline at end of file
+ the same as a single item.
+
+* Implement tile-based system for worlds/locations (aka rooms)
+* Implement floating-based system for movement instead. This would
+ allow adoption of framework in different types of game systems
+ such as 3D or 2D isometric games.
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|