summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-25 10:02:09 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-25 10:02:09 +0200
commit86fb33c51b587af6d4c9b094cd1d4dd6c80c1104 (patch)
treecc4491777d7c174a366af351839b0ac97abcfc9b /TODO
parente8319e6bdae1914f53f2ce8bd2d66bafc82faef4 (diff)
downloadRustAndDust-86fb33c51b587af6d4c9b094cd1d4dd6c80c1104.zip
RustAndDust-86fb33c51b587af6d4c9b094cd1d4dd6c80c1104.tar.gz
update TODO
Diffstat (limited to 'TODO')
-rw-r--r--TODO31
1 files changed, 26 insertions, 5 deletions
diff --git a/TODO b/TODO
index 7ebfbda..ab01946 100644
--- a/TODO
+++ b/TODO
@@ -1,12 +1,9 @@
-fix commit names
fix resize issues
Board
- - build possible moves List<GridPoint3>
- - build possible attacks List<GridPoint3>
- - build possible assits List<PawnGridPoint3 ??>
- - add debug mode: click out of mpa -> circle through show ROADS TOWN HILLS
+ - build possible attacks List<GridPoint2>
+ - build possible assits List<Pawn / GridPoint2>
- support Orientation offset
- support inverted even/odd row scheme
@@ -17,3 +14,27 @@ Pawn
- public abstract boolean isUnit(); => unit stack depth
might think about decorator pattern for overlays
+
+
+
+us decorator pattern, No can Do ??
+
+ + interface Pawn
+
+ + !!! abstract class SimplePawn implements Pawn
+ protected Image OR extends Image
+
+ + abstract class PawnDecorator implements Pawn
+ potected Pawn pawn;
+ PawnDecorator(Pawn pawn) { this.pawn = pawn; }
+ public _method_() { pawn._method_(); }
+
+ + ?! abstract class OverlayPawnDecorator extends PawnDecorator
+ ...
+ + ?! abstract class HeadedPawnDecorator extends PawnDecorator
+ ...
+
+ * class Unit extends SimplePawn
+ getUnit(_args_) {
+ return new HeadedPawnDecorator( new OverlayPawnDecorator ( new Unit(_args_) ) )
+ }