C# 클래스 Dischord.Engine.Utility

파일 보기 프로젝트 열기: jbrownbridge/Dischord

공개 메소드들

메소드 설명
PixelToTile ( float pixelPosition, int tileSize ) : int
TileToPixel ( int tilePosition, int tileSize ) : int

메소드 상세

PixelToTile() 공개 정적인 메소드

public static PixelToTile ( float pixelPosition, int tileSize ) : int
pixelPosition float
tileSize int
리턴 int

TileToPixel() 공개 정적인 메소드

public static TileToPixel ( int tilePosition, int tileSize ) : int
tilePosition int
tileSize int
리턴 int