-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
셋팅완료 #2407
Open
hjlim456
wants to merge
31
commits into
woowacourse-precourse:main
Choose a base branch
from
hjlim456:hjlim456
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
셋팅완료 #2407
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dfsgd |
Car의 위치 정보인 position 필드의 상태가 변경될수 있어야 하기때문에 record 클래스를 일반 클래스로 수정하였습니다. moveForward() 메서드를 추가했습니다
toString()은 객체가 가진 주요정보를 반환하게 만드는것이좋다. (디버깅, 에러메세지 출력에 유용하도록)
타입을 정의하는데 인터페이스를 사용하여 public static을 정의하는건 용도에 맞지 않다고 생각했습니다.
게임 요구사항과 연관되어 변경 가능성이 있는 상수들을 GameOption 이라는 별도의 객체에서 관리
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.