Made enclosed model objects private in all drawers
This commit is contained in:
parent
27fa81c601
commit
657aff15f9
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user