-
Notifications
You must be signed in to change notification settings - Fork 1
Used methods in Tutorial part 7
linuxlight edited this page Jun 21, 2021
·
1 revision
Tutorial part 7 : Score and End of the game에서 사용된 EAG engine component들을 소개합니다.
console 창 제어를 위한 method가 들어있습니다.
void Console::print(string str, int line, int start)
문자열 str을 콘솔 화면에 출력하기 위한 메소드입니다.
Name | Value | Description |
---|---|---|
str | string | 출력할 문자열 |
line | int | 문자열을 출력할 줄 위치 |
start | int | 출력할 줄 안에서의 가로 방향 위치 |
Game Loop는 매 Frame별로 실행할 명령을 결정하고 EAG engine의 모든 component들을 연결시켜 주는 역할을 합니다.
void GameLoop::exit()
GameLoop::start()
에서 탈출하여 게임을 종료합니다.