summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-06 00:06:46 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-06 00:06:46 +0200
commit4d5f97ca77beb1bca305168013132cfed83d1b18 (patch)
treea9f669458d5b76e07f8ab1f5e8d154c8e1700912
parent5466d1214ec656e04ff925e974e9c8c47a8e8eb8 (diff)
downloadRustAndDust-4d5f97ca77beb1bca305168013132cfed83d1b18.zip
RustAndDust-4d5f97ca77beb1bca305168013132cfed83d1b18.tar.gz
update TODO
-rw-r--r--TODO49
1 files changed, 14 insertions, 35 deletions
diff --git a/TODO b/TODO
index 38eb57b..ee81ed5 100644
--- a/TODO
+++ b/TODO
@@ -1,40 +1,19 @@
-
-Board
- - build possible assits List<Pawn / GridPoint2>
- - support different Tiles layout
- Board.Orientation offset
- inverted even/odd row scheme
-
-Tile
+Tile:
+ + a center (Vector2) to position overlays and center pawns on it
+ + multiple overlays (path,attack,wrecked,special terrains) centered on it
+ + a stack of pawn
- automatic overlays to show unit stack depth
-Pawn
- - public abstract boolean isUnit(); => unit stack depth
-
-
-
-Maybe ???
-might think about decorator pattern for overlays
+Pawn:
+ + a position (Vector3) to position overlays
+ + an image
+ + multiple overlays centered on it
+ - a stack of moves to revert them
-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_) ) )
- }
+Board:
+ - build possible assits List<Pawn / GridPoint2>
+ - support different grid direction
+ Board.Orientation offset
+ inverted even/odd row scheme