Пример #1
0
 public Fan(Game game)
     : base(game)
 {
     base.SetActorMeshName("ToonFan");
     this.game = game;
     m_fFanPower = 5000;
     m_vFanDirection = base.WorldForward;
     m_bForceApplied = false;
     base.WorldScale = 0.02f;
     wind = new WindParticleSystem(game, game.Content, Vector3.UnitZ);
 }
Пример #2
0
 public void removeWindComponent(WindParticleSystem wind)
 {
     windList.Remove(wind);
     wind.Dispose();
 }
Пример #3
0
 public void addWindComponent(WindParticleSystem wind)
 {
     windList.Add(wind);
 }