protected override HexMoveMap GenerateMoveMap() { HexTile.eState state = HexTile.eState.Moveable; HexMoveMapParametrs parameters = HexMoveMapParametrs.GetMoveParameters(); HexTile.Coordinate[] moveMap = HexTile.RingInRadiusCoordinates(0, 0, 0, 1); return(new HexMoveMap(state, parameters, moveMap)); }
public HexMoveMap(HexTile.eState state, HexMoveMapParametrs parameters, HexTile.Coordinate[] map) { State = state; Parameters = parameters; MoveMap = map; }
public void AddTile(HexTile.eDirection direction, HexTile.eState status, HexMoveMapParametrs parametrs) { HexTileMap hex = new HexTileMap(status, parametrs); Map.Add(direction, hex); }
public HexTileMap(HexTile.eState status, HexMoveMapParametrs parametrs) : this() { States.Add(status, parametrs); }