public Turreted(ActorInitializer init, TurretedInfo info) { this.info = info; turretFacing = info.InitialFacing; turretFacing = init.Contains<FacingInit>() ? init.Get<FacingInit,int>() : info.InitialFacing; facing = init.self.TraitOrDefault<IFacing>(); }
public Turreted(ActorInitializer init, TurretedInfo info) { this.info = info; turretFacing = GetInitialTurretFacing(init, info.InitialFacing); facing = init.self.TraitOrDefault<IFacing>(); }