Commit cf5b5bc 1 parent d506fad commit cf5b5bc Copy full SHA for cf5b5bc
File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,11 @@ export default class FenixA320 extends AircraftConfig {
65
65
Any_Exit_open_L : FeatureType . Int ,
66
66
Any_Exit_open_R : FeatureType . Int ,
67
67
} ,
68
+ [ AircraftFeature . AntiIce ] : {
69
+ S_OH_PNEUMATIC_WING_ANTI_ICE : FeatureType . Int ,
70
+ S_OH_PNEUMATIC_ENG1_ANTI_ICE : FeatureType . Int ,
71
+ S_OH_PNEUMATIC_ENG2_ANTI_ICE : FeatureType . Int ,
72
+ } ,
68
73
}
69
74
70
75
flapNames : FlapNames = {
@@ -139,4 +144,8 @@ export default class FenixA320 extends AircraftConfig {
139
144
doors ( exits_left : number , exits_right : number ) : FeatureState {
140
145
return exits_left === 0 && exits_right === 0
141
146
}
147
+
148
+ antiIce ( wing : number , eng1 : number , eng2 : number ) : FeatureState {
149
+ return wing === 1 || ( eng1 === 1 && eng2 === 1 )
150
+ }
142
151
}
You can’t perform that action at this time.
0 commit comments