AiGetRandomInBetween Method |
Little helper method, that returns a random number between start and ending (>= start and <= ending)
Namespace: Potbot.Gameplay.AisAssembly: PotBot (in PotBot.exe) Version: 0.9.0.1 (0.9.0.1)
Syntax protected int GetRandomInBetween(
int start,
int ending
)
Protected Function GetRandomInBetween (
start As Integer,
ending As Integer
) As Integer
member GetRandomInBetween :
start : int *
ending : int -> int
Parameters
- start
- Type: SystemInt32
The begin of the interval. - ending
- Type: SystemInt32
The end of the interval.
Return Value
Type:
Int32A random number between start and ending, including.
See Also