C# 클래스 DeenGames.Utils.Tower.Core.TowerUtils

A generic utility class, with odds and ends in it.
파일 보기 프로젝트 열기: deengames/valence

공개 메소드들

메소드 설명
DistanceBetweenPoints ( int x1, int y1, int x2, int y2 ) : double

Colour some text. This uses intuitive [0..255] values, rather than whacked-out [0..1] values. Throws an exception if RGB is out of [0..255].

메소드 상세

DistanceBetweenPoints() 공개 정적인 메소드

Colour some text. This uses intuitive [0..255] values, rather than whacked-out [0..1] values. Throws an exception if RGB is out of [0..255].
public static DistanceBetweenPoints ( int x1, int y1, int x2, int y2 ) : double
x1 int
y1 int
x2 int
y2 int
리턴 double