Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

trends



This library handles trends of genres and themes.

Methods

Variables

MAX_TRENDING_THEMES

The maximum amount of themes that can be trending at once.

MAX_TRENDING_GENRES

The maximum amount of genres that can be trending at once.

CHANCE_FOR_TREND

the chance that either a genre or a theme will start trending.

DURATION

the duration of a trend in months.

REQUIRED_RATING_FOR_CONTRIBUTION (7)

the minimum rating for a trend to add a boost to the sales.

MAX_RATING_DELTA (3)

the delta between the maximum rating and REQUIRED_RATING_FOR_CONTRIBUTION.

RATING_MAX_BOOST

how big of a boost we can get at most.

GAMES_PER_RIVAL (2)

per each rival that's alive we can have this many games of a genre/theme before it will stop trending.

Events

TREND_OVER

fired when a trend is over.

TREND_START

fired when a trend begins.