コード例 #1
0
ファイル: ChronoshiftPower.cs プロジェクト: Iran/ClassicRA
            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
ファイル: ChronoshiftPower.cs プロジェクト: Iran/ClassicRA
 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);
 }