Struct Weather
Represents the weather in the world
Inherited Members
Namespace: Slipe.Shared.GameWorld
Assembly: SlipeShared.dll
Syntax
public struct Weather
Constructors
| Improve this Doc View SourceWeather(WeatherType)
Creates a weather struct representing a single weather state
Declaration
public Weather(WeatherType weather)
Parameters
| Type | Name | Description |
|---|---|---|
| WeatherType | weather |
Weather(WeatherType, WeatherType)
Creates a weather struct that represents a transitioning weather
Declaration
public Weather(WeatherType current, WeatherType transitionTo)
Parameters
| Type | Name | Description |
|---|---|---|
| WeatherType | current | |
| WeatherType | transitionTo |
Properties
| Improve this Doc View SourceCurrent
Get and set the current weather value
Declaration
public WeatherType Current { get; set; }
Property Value
| Type | Description |
|---|---|
| WeatherType |
TransitionTo
Get and set the transitioning weather
Declaration
public WeatherType TransitionTo { get; set; }
Property Value
| Type | Description |
|---|---|
| WeatherType |