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

Inheritance: CrateAction
Afficher le fichier Open project: pchote/OpenRA

Méthodes publiques

Méthode Description
Activate ( Actor collector ) : void
CanGiveTo ( Actor collector ) : bool
GetSelectionShares ( Actor collector ) : int
GiveUnitCrateAction ( Actor self, GiveUnitCrateActionInfo info ) : System.Collections.Generic

Private Methods

Méthode Description
ChooseEmptyCellNear ( Actor a, string unit ) : CPos?
GetSuitableCells ( CPos near, string unitName ) : IEnumerable

Method Details

Activate() public méthode

public Activate ( Actor collector ) : void
collector Actor
Résultat void

CanGiveTo() public méthode

public CanGiveTo ( Actor collector ) : bool
collector Actor
Résultat bool

GetSelectionShares() public méthode

public GetSelectionShares ( Actor collector ) : int
collector Actor
Résultat int

GiveUnitCrateAction() public méthode

public GiveUnitCrateAction ( Actor self, GiveUnitCrateActionInfo info ) : System.Collections.Generic
self Actor
info GiveUnitCrateActionInfo
Résultat System.Collections.Generic