예제 #1
0
 public UfoDetected(Ufo ufo)
 {
     this.ufo = ufo;
     if (ufo.HyperWaveTransmissionsDecoded)
         DisplayHyperWaveTransmissions();
     else
         DisplayBasicRadarResults();
 }
예제 #2
0
파일: Ufo.cs 프로젝트: jmfb/XComGenerations
        public static Ufo Create(
			UfoType ufoType,
			UfoStatus status,
			AlienType alienType,
			AlienMissionType mission,
			RegionType region)
        {
            var ufo = new Ufo
            {
                UfoType = ufoType,
                Status = status,
                Number = GameState.Current.Data.NextUfoNumber++,
                AlienType = alienType,
                Mission = mission,
                Region = region
            };
            GameState.Current.Data.Ufos.Add(ufo);
            return ufo;
        }
예제 #3
0
 private void SelectUfo(Ufo ufo)
 {
     SelectWorldObject(ufo.WorldObjectType, ufo.Number);
 }
예제 #4
0
 private void SelectWorldObject(Ufo ufo)
 {
     new UfoDetected(ufo).DoModal(this);
 }