Table of Contents

Method SeasonChanged

Namespace
Pillars.Weather.Actors
Assembly
Pillars.dll

SeasonChanged(int)

Triggers the SeasonChange event with the provided season value

public void SeasonChanged(int season)

Parameters

season int

The integer value representing the season to be applied.

Remarks

This method checks if the provided season value corresponds to a valid SEASON enum. If the value is valid, it triggers a season change event with the provided value. If the value is invalid, it logs a warning message using Pillars.Weather.Actors.WeatherActor._logger and defaults to applying the Fall season.