C# 클래스 Project290.Screens.Title.BoxArtDisplay

Used for displaying all of the game info box arts on the title screen.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 메소드들

메소드 설명
BoxArtDisplay ( Screen screen, Vector2 basePosition, Vector2 boxArtOffset ) : System

Initializes a new instance of the BoxArtDisplay class.

Draw ( ) : void

Draws this instance.

Shift ( int amount ) : void

Shifts the entries by the specified amount.

Update ( ) : void

Updates this instance.

메소드 상세

BoxArtDisplay() 공개 메소드

Initializes a new instance of the BoxArtDisplay class.
public BoxArtDisplay ( Screen screen, Vector2 basePosition, Vector2 boxArtOffset ) : System
screen Screen The screen.
basePosition Vector2 The base position (positon of center of active box art).
boxArtOffset Vector2 The box art offset between each image.
리턴 System

Draw() 공개 메소드

Draws this instance.
public Draw ( ) : void
리턴 void

Shift() 공개 메소드

Shifts the entries by the specified amount.
public Shift ( int amount ) : void
amount int The amount.
리턴 void

Update() 공개 메소드

Updates this instance.
public Update ( ) : void
리턴 void