diff --git a/cicaprojekt/PlayerBaseDrawer.java b/cicaprojekt/PlayerBaseDrawer.java index d438d60..aedd4f1 100644 --- a/cicaprojekt/PlayerBaseDrawer.java +++ b/cicaprojekt/PlayerBaseDrawer.java @@ -13,21 +13,20 @@ public class PlayerBaseDrawer extends AbstractDrawer implements Drawer { @Override public void draw() throws IOException { - //TODO Pictures for different facing directions. switch(playerbase.name){ case "Replicator": switch(playerbase.facingDirection){ case NORTH: - changeImage("Replicator.png"); + changeImage("Replicator_Up.png"); break; case EAST: - changeImage("Replicator_east.png"); + changeImage("Replicator_Right.png"); break; case SOUTH: - changeImage("Replicator.png"); + changeImage("Replicator_Down.png"); break; default: - changeImage("Replicator_west.png"); + changeImage("Replicator_Left.png"); break; } }