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;
public class FieldDrawer extends AbstractDrawer {
Field field;
private Field field;
public FieldDrawer(Field f) throws IOException {
super("Field.png");

View File

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

View File

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

View File

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

View File

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

View File

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