-
Notifications
You must be signed in to change notification settings - Fork 3
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
Lee Ho Seong #10
Open
leon-808
wants to merge
21
commits into
jihwooon:main
Choose a base branch
from
leon-808:leehoseong
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
Lee Ho Seong #10
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d9bee02
Initial commit
jihwooon bd6746e
update, draw 함수 리팩터링
leon-808 f964ca5
ch01 예제 세가지 풀이와 eslint 따옴표 해결
leon-808 d6e7cb1
sum.test.ts 풀이
leon-808 87b1262
Input 인터페이스, 클래스로의 코드 이관
leon-808 f268a65
신호등 기능 interface, class 로의 코드 이관 및 테스트
leon-808 78ab05a
타일 Interface, Class 로의 코드 이관 및 에러
leon-808 21c83cb
Map 변수, 생성 함수로 에러 해결 및 PR 제언 토대로 수정
leon-808 207897b
Remove 메서드 전문화, colorOfTile 클래스로 코드 이관
leon-808 ab5ae4c
if 문 추가 이관을 통해 color 를 draw 함수로 변경
leon-808 f223e7b
moveHorizontal, Vertical 인라인화
leon-808 6733d98
stony, boxy 메서드 추가 및 stone, box 클래스 리팩터링
leon-808 a8e4e99
.prettierignore 파일 무시
leon-808 44826c2
조건문에서 부수적인 동작 분리
leon-808 755dc54
updateTile 인라인화와 불필요한 코드 정리
leon-808 5a9d2f1
FallStrategy 클래스로 코드 이관 및 메소드 통합
leon-808 6068dff
Array.ts 전략 패턴 적용
leon-808 20ecf29
Processor 인터페이스를 생성해 유사한 클래스 통합
leon-808 f50acda
remove 함수를 하나로 통합하기 위한 인터페이스 도입
leon-808 0983348
Key 와 Lock 클래스의 통합
leon-808 7474c00
전략 패턴 적용을 위한 KeyConfiguration 클래스 도입
leon-808 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
map[y][x]
은 다음 배열을 참조 하고 있습니다.이 배열은
RawTile
열거형을 참조하고 있어서 map으로부터 메서드를 호출 할 수 없습니다. 참조 타입을 변경하시면 됩니다.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그럼 처음 말씀드렸던대로 첫 RawTile 맵을 기반으로
tile class 들을 담고 있는 새 맵을 만들고 그걸 참조하게 하면 될까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
책에서는 기존 Tile을 인터페이스로 구현하도록 합니다. 때문에 인터페이스로 참조 타입으로 사용해도 됩니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 오류 해결 내용을 뒤에서 다루나 보네요.. 감사합니다 그럼 한번 만들어보겠습니다.