diff options
| author | mithe24 <mithe24@student.sdu.dk> | 2025-05-14 18:30:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-14 18:30:01 +0200 |
| commit | 7a1f9b5fbe334836732a79a3ca1205293b220dad (patch) | |
| tree | a426a845f8bf2242c51e278aa6e614556efc77f2 /pacman/view | |
| parent | bf766db31174316cac83856ee86f76efd55178c9 (diff) | |
| download | pacman-7a1f9b5fbe334836732a79a3ca1205293b220dad.tar.gz pacman-7a1f9b5fbe334836732a79a3ca1205293b220dad.zip | |
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
Diffstat (limited to 'pacman/view')
| -rw-r--r-- | pacman/view/src/main/java/com/gr15/pacman/view/screen/GameView.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; |