OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::GenerateSupplyMission Class Reference

This class will attempt to generate a supply mission for a base. More...

Inheritance diagram for OpenXcom::GenerateSupplyMission:

Public Member Functions

 GenerateSupplyMission (const Ruleset &ruleset, SavedGame &save)
 Store rules and game data references for later use.
 
void operator() (const AlienBase *base) const
 Check and spawn mission. More...
 

Detailed Description

This class will attempt to generate a supply mission for a base.

Each alien base has a 6/101 chance to generate a supply mission.

Member Function Documentation

void OpenXcom::GenerateSupplyMission::operator() ( const AlienBase base) const

Check and spawn mission.

Check and create supply mission for the given base.

There is a 6/101 chance of the mission spawning.

Parameters
baseA pointer to the alien base.

The documentation for this class was generated from the following file: