Skip to content

Commit

Permalink
Redistributed classes into packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Sep 23, 2012
1 parent ee48319 commit ac38858
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package com.mazebuilder.gameplay;
package com.mazebuilder.gameplay.board;

import com.mazebuilder.gameplay.Direction;
import com.mazebuilder.gameplay.Location;

public final class BitmaskWallContainer implements WallContainer {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package com.mazebuilder.gameplay;
package com.mazebuilder.gameplay.board;

import com.mazebuilder.gameplay.Direction;
import com.mazebuilder.gameplay.Location;
import com.mazebuilder.gameplay.players.Player;
import com.mazebuilder.renderer.Renderable;

public interface Board extends Renderable {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mazebuilder.gameplay;
package com.mazebuilder.gameplay.board;

import java.util.Map;

Expand All @@ -7,6 +7,10 @@
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.google.common.collect.Maps;
import com.mazebuilder.gameplay.Direction;
import com.mazebuilder.gameplay.Location;
import com.mazebuilder.gameplay.SimpleLocation;
import com.mazebuilder.gameplay.players.Player;
import com.mazebuilder.renderer.BoardRenderer;

public final class DefaultBoard implements Board {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package com.mazebuilder.gameplay;
package com.mazebuilder.gameplay.board;

import com.mazebuilder.gameplay.Direction;
import com.mazebuilder.gameplay.Location;

public interface WallContainer {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.mazebuilder.gameplay;
package com.mazebuilder.gameplay.players;

import java.util.Random;

Expand All @@ -7,6 +7,7 @@
import com.google.common.collect.EnumMultiset;
import com.google.common.collect.Multiset;
import com.google.common.collect.Multisets;
import com.mazebuilder.gameplay.Direction;
import com.mazebuilder.renderer.PlayerRenderer;

public final class ChaserPlayer implements Player {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.mazebuilder.gameplay;
package com.mazebuilder.gameplay.players;

import com.google.common.collect.Multiset;
import com.mazebuilder.gameplay.Direction;
import com.mazebuilder.renderer.Renderable;

public interface Player extends Renderable {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package com.mazebuilder.gameplay;
package com.mazebuilder.gameplay.players;

import org.newdawn.slick.Graphics;

import com.google.common.collect.EnumMultiset;
import com.google.common.collect.Multiset;
import com.mazebuilder.gameplay.Direction;
import com.mazebuilder.renderer.PlayerRenderer;

public final class RunnerPlayer implements Player {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.newdawn.slick.Graphics;

import com.mazebuilder.gameplay.Player;
import com.mazebuilder.gameplay.players.Player;

public interface BoardRenderer {

Expand Down

0 comments on commit ac38858

Please sign in to comment.