C# Class OpenRA.Mods.Common.Traits.Production

Show file Open project: pchote/OpenRA

Public Properties

Property Type Description
Info ProductionInfo

Public Methods

Method Description
DoProduction ( Actor self, ActorInfo producee, ExitInfo exitinfo, string factionVariant ) : void
Produce ( Actor self, ActorInfo producee, string factionVariant ) : bool
Production ( ActorInitializer init, ProductionInfo info ) : System

Private Methods

Method Description
CanUseExit ( Actor self, ActorInfo producee, ExitInfo s ) : bool
INotifyCreated ( Actor self ) : void

Method Details

DoProduction() public method

public DoProduction ( Actor self, ActorInfo producee, ExitInfo exitinfo, string factionVariant ) : void
self Actor
producee ActorInfo
exitinfo ExitInfo
factionVariant string
return void

Produce() public method

public Produce ( Actor self, ActorInfo producee, string factionVariant ) : bool
self Actor
producee ActorInfo
factionVariant string
return bool

Production() public method

public Production ( ActorInitializer init, ProductionInfo info ) : System
init ActorInitializer
info ProductionInfo
return System

Property Details

Info public property

public ProductionInfo Info
return ProductionInfo