C# Класс ConveyorDefence.Map.DepthCalculator

Показать файл Открыть проект

Открытые методы

Метод Описание
CalculateDepth ( int x, int y, int height ) : float
CalculateDepthOffsetY ( int y ) : float
Initialize ( float maxDepth ) : void

Описание методов

CalculateDepth() публичный статический Метод

public static CalculateDepth ( int x, int y, int height ) : float
x int
y int
height int
Результат float

CalculateDepthOffsetY() публичный статический Метод

public static CalculateDepthOffsetY ( int y ) : float
y int
Результат float

Initialize() публичный статический Метод

public static Initialize ( float maxDepth ) : void
maxDepth float
Результат void