Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Miłosz Bochenek committed Jan 17, 2024
1 parent 1b73b24 commit 8efa759
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions raycaster/game/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def __init__(self, level: list[list[int]] = None):
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 3, 3, 3, 3, 0, 0, 0, 2, 2, 2, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 2, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 2, 0, 0, 1],
[1, 0, 0, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1],
Expand Down Expand Up @@ -56,7 +56,7 @@ def __init__(self, level: list[list[int]] = None):
[0, 3, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 3, 0],
[0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0],
[0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0],
[0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0],
[0, 3, 3, 3, 3, 3, 3, 5, 5, 3, 3, 3, 3, 3, 3, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
]
if level is None
Expand Down
4 changes: 2 additions & 2 deletions raycaster/objects/object_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def _initialize_objects(cls):
ObjectFactory.create(
"hanging_corpse_3", (10.5 * cell_size, 47.5 * cell_size)
),
ObjectFactory.create("evil_eye", (7.5 * cell_size, 50.5 * cell_size)),
ObjectFactory.create("evil_eye", (8.5 * cell_size, 50.5 * cell_size)),
ObjectFactory.create("evil_eye", (6.5 * cell_size, 50.5 * cell_size)),
ObjectFactory.create("evil_eye", (9.5 * cell_size, 50.5 * cell_size)),
]
cls._enemies = [
ObjectFactory.create("soldier", (11.5 * cell_size, 3.5 * cell_size)),
Expand Down

0 comments on commit 8efa759

Please sign in to comment.