Skip to content
Snippets Groups Projects
Commit b5ec68e0 authored by tildiko97's avatar tildiko97
Browse files

AbstractField JavaDoc megírása

parent 06317c40
Branches
No related tags found
No related merge requests found
...@@ -31,6 +31,9 @@ public abstract class AbstractField { ...@@ -31,6 +31,9 @@ public abstract class AbstractField {
neighbours.put(d,n); neighbours.put(d,n);
} }
/**
* Kiírja az adattagokat
*/
public void printStat() public void printStat()
{ {
...@@ -40,13 +43,17 @@ public abstract class AbstractField { ...@@ -40,13 +43,17 @@ public abstract class AbstractField {
System.out.println("neighborLeft: " + Main.getFieldName(neighbours.get(Direction.LEFT))); System.out.println("neighborLeft: " + Main.getFieldName(neighbours.get(Direction.LEFT)));
} }
/**
* A paraméterül kapott View-n meghívja annak drawAbstract() függvényét
* @param view A grafikus felület elemeinek megjelenítéséért felelős View osztály példánya
*/
public void shouldDraw(View view) public void shouldDraw(View view)
{ {
view.drawAbstract(); view.drawAbstract();
} }
/** /**
* Ez a függvény sarkot csinál a mzőből. * Ez a függvény sarkot csinál a mezőből.
*/ */
public void setToCorner() { public void setToCorner() {
isCorner = true; isCorner = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment