Made enclosed model objects private in all drawers

This commit is contained in:
Bokros Bálint 2016-05-14 13:27:34 +02:00
parent 27fa81c601
commit 657aff15f9
6 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ package cicaprojekt;
import java.io.IOException; import java.io.IOException;
public class FieldDrawer extends AbstractDrawer { public class FieldDrawer extends AbstractDrawer {
Field field; private Field field;
public FieldDrawer(Field f) throws IOException { public FieldDrawer(Field f) throws IOException {
super("Field.png"); super("Field.png");

View File

@ -3,7 +3,7 @@ package cicaprojekt;
import java.io.IOException; import java.io.IOException;
public class GateDrawer extends AbstractDrawer { public class GateDrawer extends AbstractDrawer {
Gate gate; private Gate gate;
public GateDrawer(Gate g) throws IOException { public GateDrawer(Gate g) throws IOException {
super("Gate.png"); super("Gate.png");

View File

@ -3,7 +3,7 @@ package cicaprojekt;
import java.io.IOException; import java.io.IOException;
public class PlayerBaseDrawer extends AbstractDrawer implements Drawer { public class PlayerBaseDrawer extends AbstractDrawer implements Drawer {
PlayerBase playerbase; private PlayerBase playerbase;
public PlayerBaseDrawer(PlayerBase pb) throws IOException { public PlayerBaseDrawer(PlayerBase pb) throws IOException {
super("Replicator_Down.png"); super("Replicator_Down.png");

View File

@ -3,7 +3,7 @@ package cicaprojekt;
import java.io.IOException; import java.io.IOException;
public class PlayerDrawer extends AbstractDrawer implements Drawer { public class PlayerDrawer extends AbstractDrawer implements Drawer {
Player player; private Player player;
public PlayerDrawer(Player p) throws IOException { public PlayerDrawer(Player p) throws IOException {
super("ONeill_Down.png"); super("ONeill_Down.png");

View File

@ -3,7 +3,7 @@ package cicaprojekt;
import java.io.IOException; import java.io.IOException;
public class ScaleDrawer extends AbstractDrawer implements Drawer { public class ScaleDrawer extends AbstractDrawer implements Drawer {
Scale scale; private Scale scale;
public ScaleDrawer(Scale s) throws IOException { public ScaleDrawer(Scale s) throws IOException {
super("Scale.png"); super("Scale.png");

View File

@ -3,7 +3,7 @@ package cicaprojekt;
import java.io.IOException; import java.io.IOException;
public class WallDrawer extends AbstractDrawer implements Drawer { public class WallDrawer extends AbstractDrawer implements Drawer {
Wall wall; private Wall wall;
public WallDrawer(Wall w) throws IOException { public WallDrawer(Wall w) throws IOException {
super("Wall.png"); super("Wall.png");