Commit c9fa4fcd authored by Haj Rezvan's avatar Haj Rezvan

The program updated to version 0.1.

The "setMapByPosition" and "setVisualMapByPosition" methods commented and "setVisualMap" , "setMap" and "refresh" methods added.
parent d86ed05b
...@@ -4,7 +4,10 @@ public interface IBoard { ...@@ -4,7 +4,10 @@ public interface IBoard {
char[] getMap(); char[] getMap();
char[][] getVisualMap(); char[][] getVisualMap();
void printMap() throws IOException, InterruptedException; void printMap() throws IOException, InterruptedException;
void setMapByPosition(int position, char nut); // void setMapByPosition(int position, char nut);
void setVisualMapByPosition(int xPosition, int yPosition, char nut); // void setVisualMapByPosition(int xPosition, int yPosition, char nut);
int searchPosition(char c); int searchPosition(char c);
void setMap(char[] map);
void setVisualMap(char[][] visualMap);
void refresh() throws IOException, InterruptedException;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment