|
24.
|
|
|
An `event object <http://www.pygame.org/docs/ref/event.html>`_
|
|
|
|
`이벤트 객체 <http://www.pygame.org/docs/ref/event.html>`_ 입니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:185
|
|
25.
|
|
|
`x`, `y`
|
|
|
|
`x`, `y`
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:191
|
|
26.
|
|
|
The x and y coordinates of the event, relative to the upper-left corner of the displayable. These should be used in preference to position information found in the pygame event objects.
|
|
|
|
이벤트의 x, y 좌표값입니다. x, y 값은 디스플레이어블의 좌측 상단 구석을 원점으로 하여 계산합니다. 좌표값은 파이게임 이벤트 객체에서 찾을 수 있는 위치 정보다 우선해서 사용됩니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:188
|
|
27.
|
|
|
A float, the shown timebase, in seconds.
|
|
|
|
표시시간축, 초 단위 부동 소수점입니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:194
|
|
28.
|
|
|
An event is generated at the start of each interaction, and :func:`renpy.timeout` can be used to cause another event to occur.
|
|
|
|
이벤트는 각 인터렉션이 시작할 때 만들어지지만, :func:`renpy.timeout` 를 사용하면 다른 이벤트를 발생하게 할 수도 있습니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:196
|
|
29.
|
|
|
This method is called at the start of each interaction. It can be used to trigger a redraw, and probably should be used to trigger a redraw if the object participates in rollback.
|
|
|
|
각 인터렉션이 시작할 때 호출되는 메소드입니다. redraw 함수를 작동시키거나, 롤백에 영향을 받는 객체에 redraw 함수를 작동시킬 때 사용할 수 있습니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:202
|
|
30.
|
|
|
If the displayable has child displayables, this method should be overridden to return a list of those displayables. This ensures that the per_interact methods of those displayables are called, and also allows images used by those displayables to be predicted.
|
|
|
|
이 메소드는 디스플레이어블에 하위 디스플레이어블이 있으면 하위 디스플레이어블의 리스트를 반환하도록 재작성해야 합니다. 이는 하위 디스플레이어블이 per_interact 메소드를 호출해서 하위 디스플레이어블이 사용하는 이미지를 예측하기 위함입니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:208
|
|
31.
|
|
|
renpy.Render
|
|
|
|
renpy.Render
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:215
|
|
32.
|
|
|
creator-defined displayables work with renpy.Render objects. Render objects are returned by calling the :func:`renpy.render` function on a displayable. A creator-defined displayable should create a Render object by calling :class:`renpy.Render` from its render method.
|
|
|
|
제작자 정의 디스플레이어블은 renpy.Render 객체를 통해 작동합니다. 디스플레이어블에 :func:`renpy.render` 함수를 호출하면 Render 객체가 반환됩니다. 제작자 정의 디스플레이어블에서는 :class:`renpy.Render` 클래스를 호출하여 렌더 클래스의 메소드에서 렌더 객체를 만들어야 합니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:217
|
|
33.
|
|
|
Since the render object isn't intended to be subclassed, we will omit the implicit `self` parameter.
|
|
|
|
render 객체는 자식 클래스를 만들 수 있도록 만들어진 객체가 아니라서 `self` 매개변수는 적지 않았습니다.
|
|
Translated and reviewed by
baekansi
|
|
|
|
Located in
../../source/udd.rst:222
|