Inheritance: OpenRA.Traits.SupportPower
Beispiel #1
0
            public SelectUpgradeTarget(World world, string order, SupportPowerManager manager, GrantUpgradePower power)
            {
                // Clear selection if using Left-Click Orders
                if (Game.Settings.Game.UseClassicMouseStyle)
                {
                    manager.Self.World.Selection.Clear();
                }

                this.manager = manager;
                this.order   = order;
                this.power   = power;
                range        = power.info.Range;
                tile         = world.Map.Rules.Sequences.GetSequence("overlay", "target-select").GetSprite(0);
            }
Beispiel #2
0
			public SelectUpgradeTarget(World world, string order, SupportPowerManager manager, GrantUpgradePower power)
			{
				// Clear selection if using Left-Click Orders
				if (Game.Settings.Game.UseClassicMouseStyle)
					manager.Self.World.Selection.Clear();

				this.manager = manager;
				this.order = order;
				this.power = power;
				this.range = power.info.Range;
				tile = world.Map.SequenceProvider.GetSequence("overlay", "target-select").GetSprite(0);
			}