Пример #1
0
            public SelectDestination(string order, SupportPowerManager manager, ChronoshiftPower power, CPos sourceLocation)
            {
                this.manager = manager;
                this.order = order;
                this.power = power;
                this.sourceLocation = sourceLocation;
                this.range = (power.Info as ChronoshiftPowerInfo).Range;

                validTile = SequenceProvider.GetSequence("overlay", "target-valid").GetSprite(0);
                invalidTile = SequenceProvider.GetSequence("overlay", "target-invalid").GetSprite(0);
                sourceTile = SequenceProvider.GetSequence("overlay", "target-select").GetSprite(0);
            }
Пример #2
0
 public SelectTarget(string order, SupportPowerManager manager, ChronoshiftPower power)
 {
     this.manager = manager;
     this.order = order;
     this.power = power;
     this.range = (power.Info as ChronoshiftPowerInfo).Range;
     tile = SequenceProvider.GetSequence("overlay", "target-select").GetSprite(0);
 }