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

Mostrar archivo Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
ActorChanged ( Actor a ) : void
Add ( string key, string prerequisites, int limit, ITechTreeElement tte ) : void
HasPrerequisites ( IEnumerable prerequisites ) : bool
Remove ( ITechTreeElement tte ) : void
Remove ( string key ) : void
TechTree ( ActorInitializer init ) : System.Collections.Generic
Update ( ) : void

Private Methods

Method Description
GatherOwnedPrerequisites ( Player player ) : List>.Cache

Method Details

ActorChanged() public method

public ActorChanged ( Actor a ) : void
a Actor
return void

Add() public method

public Add ( string key, string prerequisites, int limit, ITechTreeElement tte ) : void
key string
prerequisites string
limit int
tte ITechTreeElement
return void

HasPrerequisites() public method

public HasPrerequisites ( IEnumerable prerequisites ) : bool
prerequisites IEnumerable
return bool

Remove() public method

public Remove ( ITechTreeElement tte ) : void
tte ITechTreeElement
return void

Remove() public method

public Remove ( string key ) : void
key string
return void

TechTree() public method

public TechTree ( ActorInitializer init ) : System.Collections.Generic
init ActorInitializer
return System.Collections.Generic

Update() public method

public Update ( ) : void
return void