Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Tunnels #15

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Added Tunnels #15

merged 1 commit into from
Jan 16, 2024

Conversation

karmatys8
Copy link
Owner

Had to change from using canMoveTo to whereToMove. Because of that I made new tests for obth Tunnels and Globe.

I had to somehow return grass and tunnels from objectAt so I made WorldElement interface and 2 dumb classes that implement it: Plant and Tunnel.

Maybe it is better to make an abstract class?
The problem was caused by MapVisualizer because I am not sure how we will use it.

Had to change from using canMoveTo to whereToMove.
Because of that I made new tests for obth Tunnels and Globe.

I had to somehow return grass and tunnels from objectAt so I made WorldElement interface and 2 dumb classes that implement it: Plant and Tunnel.

Maybe it is better to make an abstract class?
The problem was caused by MapVisualizer because I am not sure how we will use it.
@Gabriela-Dumanska Gabriela-Dumanska merged commit edfebd1 into main Jan 16, 2024
@karmatys8 karmatys8 deleted the tunnels branch January 18, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants