예제 #1
0
파일: Fan.cs 프로젝트: shalynnho/airplane
 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);
 }