From 7a1f9b5fbe334836732a79a3ca1205293b220dad Mon Sep 17 00:00:00 2001 From: mithe24 Date: Wed, 14 May 2025 18:30:01 +0200 Subject: docs/model-module (#13) * docs(model/entities): Documentation for entities and items Adds documentation to the following entity and item classes - Entity - EntityUtils - Items Did not add documentation for Ghost entity and Pacman entity, since the class is not done yet. * fix/small-fixes (#14) * fix(model/entities): entites start in center of tile * style(pacman): It should be width and height, not height and width. * refactor(view): Changing setting of background color --- pacman/view/src/main/java/com/gr15/pacman/view/screen/GameView.java | 1 + 1 file changed, 1 insertion(+) (limited to 'pacman/view/src/main/java/com/gr15') diff --git a/pacman/view/src/main/java/com/gr15/pacman/view/screen/GameView.java b/pacman/view/src/main/java/com/gr15/pacman/view/screen/GameView.java index 33c4e2d..c0c6cba 100644 --- a/pacman/view/src/main/java/com/gr15/pacman/view/screen/GameView.java +++ b/pacman/view/src/main/java/com/gr15/pacman/view/screen/GameView.java @@ -32,6 +32,7 @@ public class GameView private float scaleX = 3.0f; private float scaleY = 3.0f; + private int tileWidth; private int tileHeight; -- cgit v1.2.3-70-g09d2