Skip to content
Browse files

Added Controller.getModel().

  • Loading branch information...
1 parent 0b8f4aa commit 4b008f29e5af088b426a915c3db46d1182fa4bd3 @gwu committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/main/java/com/garrettwu/blocklink/engine/BlockLinkGameController.java
View
9 src/main/java/com/garrettwu/blocklink/engine/BlockLinkGameController.java
@@ -26,6 +26,15 @@ public BlockLinkGameController(BlockLinkGameView view) {
}
/**
+ * Gets the model.
+ *
+ * @return The game model.
+ */
+ public BlockLinkGameModel getModel() {
+ return mModel;
+ }
+
+ /**
* Renders a frame of the game, called many times per second.
*/
public void renderFrame(BlockLinkGameEnvironment environment) {

0 comments on commit 4b008f2

Please sign in to comment.
Something went wrong with that request. Please try again.