Class Range<T>
Namespace: RTSEngine
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public abstract class Range<T>
where T : IComparable
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
Range()
Declaration
protected Range()
Range(T, T)
Declaration
protected Range(T min, T max)
Parameters
| Type | Name | Description |
|---|---|---|
| T | min | |
| T | max |
Properties
max
Declaration
public T max { get; }
Property Value
| Type | Description |
|---|---|
| T |
min
Declaration
public T min { get; }
Property Value
| Type | Description |
|---|---|
| T |
RandomValue
Declaration
public abstract T RandomValue { get; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
Clamp(T)
Declaration
public T Clamp(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value |
Returns
| Type | Description |
|---|---|
| T |