Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

pedestrianController



This class handles the creation and behavior adjustment of pedestrians.

Methods

Variables

SLEEP_DURATION ({60, 360})

the "sleep" range of a pedestrian upon loading, so that not every single pedestrian is out on the streets after we load our savefile.

RAIN_WALK_SPEED (2)

the walk speed multiplier for when it's raining.

BEDTIME_HOURS ({7, 19})

the time at which pedestrians should "sleep".

WAKE_TIME_DELTA ({-2, 6})

variance of waking "hours" for every pedestrian.

PEDESTRIAN_COUNT (200)

amount of pedestrians.

EMPTY_STREETS_UPON_LOAD_WEATHER_INTENSITY (0.4)

when the weather is at least this intense the streets will be empty upon loading