Show / Hide Table of Contents

Struct Weather

Represents the weather in the world

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: Slipe.Shared.GameWorld
Assembly: SlipeShared.dll
Syntax
public struct Weather

Constructors

| Improve this Doc View Source

Weather(WeatherType)

Creates a weather struct representing a single weather state

Declaration
public Weather(WeatherType weather)
Parameters
Type Name Description
WeatherType weather
| Improve this Doc View Source

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 Source

Current

Get and set the current weather value

Declaration
public WeatherType Current { get; set; }
Property Value
Type Description
WeatherType
| Improve this Doc View Source

TransitionTo

Get and set the transitioning weather

Declaration
public WeatherType TransitionTo { get; set; }
Property Value
Type Description
WeatherType
  • Improve this Doc
  • View Source
Back to top Generated by DocFX