C# 클래스 ManicDigger.Hud.HUDLayoutHelper

Helper that loads and saves the HUD layout.
파일 보기 프로젝트 열기: henon/manic_digger 1 사용 예제들

공개 메소드들

메소드 설명
GetAbsX ( int screenWidth, float percentualX ) : float
GetAbsY ( int screenHeight, float percentualY ) : float
GetRelX ( int screenWidth, float absoluteX ) : float
GetRelY ( int screenHeight, float absoluteY ) : float
LoadLayout ( Stream stream, IHUD hud, int screenWidth, int screenHeight ) : void
SaveLayout ( Stream stream, IHUD hud ) : void

비공개 메소드들

메소드 설명
HUDLayoutHelper ( ) : System

메소드 상세

GetAbsX() 공개 정적인 메소드

public static GetAbsX ( int screenWidth, float percentualX ) : float
screenWidth int
percentualX float
리턴 float

GetAbsY() 공개 정적인 메소드

public static GetAbsY ( int screenHeight, float percentualY ) : float
screenHeight int
percentualY float
리턴 float

GetRelX() 공개 정적인 메소드

public static GetRelX ( int screenWidth, float absoluteX ) : float
screenWidth int
absoluteX float
리턴 float

GetRelY() 공개 정적인 메소드

public static GetRelY ( int screenHeight, float absoluteY ) : float
screenHeight int
absoluteY float
리턴 float

LoadLayout() 공개 정적인 메소드

public static LoadLayout ( Stream stream, IHUD hud, int screenWidth, int screenHeight ) : void
stream Stream
hud IHUD
screenWidth int
screenHeight int
리턴 void

SaveLayout() 공개 정적인 메소드

public static SaveLayout ( Stream stream, IHUD hud ) : void
stream Stream
hud IHUD
리턴 void