From 4d5f97ca77beb1bca305168013132cfed83d1b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 6 Oct 2014 00:06:46 +0200 Subject: update TODO --- TODO | 49 ++++++++++++++----------------------------------- 1 file 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 - - 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 + - support different grid direction + Board.Orientation offset + inverted even/odd row scheme -- cgit v1.1-2-g2b99