Click or drag to resize
AiGetRandomInBetween Method
Little helper method, that returns a random number between start and ending (>= start and <= ending)

Namespace: Potbot.Gameplay.Ais
Assembly: PotBot (in PotBot.exe) Version: 0.9.0.1 (0.9.0.1)
Syntax
protected int GetRandomInBetween(
	int start,
	int ending
)

Parameters

start
Type: SystemInt32
The begin of the interval.
ending
Type: SystemInt32
The end of the interval.

Return Value

Type: Int32
A random number between start and ending, including.
See Also