-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package Controller; | ||
|
||
import Model.GameModel; | ||
import Model.Player; | ||
import View.GameView; | ||
|
||
public class GameController { | ||
private GameModel model; | ||
private GameView view; | ||
|
||
public static final int MAX_PLAYER_COUNT = 4; // 최대 플레이어 수 (본인 포함) | ||
|
||
private Player[] players = new Player[MAX_PLAYER_COUNT]; | ||
|
||
private Tile | ||
|
||
public GameController(GameModel model, GameView view) { | ||
this.model = model; | ||
this.view = view; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package Model; | ||
|
||
import static Controller.GameController.MAX_PLAYER_COUNT; | ||
|
||
public class GameModel { | ||
|
||
private Player[] players = new Player[MAX_PLAYER_COUNT]; | ||
|
||
|
||
} |