예제 #1
0
파일: MadTank.cs 프로젝트: ushalin/OpenRA
		public MadTank(Actor self, MadTankInfo info)
		{
			this.self = self;
			this.info = info;
			renderUnit = self.Trait<RenderUnit>();
			screenShaker = self.World.WorldActor.Trait<ScreenShaker>();
		}
예제 #2
0
 public MadTank(Actor self, MadTankInfo info)
 {
     this.self    = self;
     this.info    = info;
     wfsb         = self.Trait <WithFacingSpriteBody>();
     screenShaker = self.World.WorldActor.Trait <ScreenShaker>();
 }