Added facing limit and range for fsdi

This commit is contained in:
Cmdr McDonald
2016-11-02 11:03:29 +00:00
parent 35538f971a
commit 7c71555384
4 changed files with 21 additions and 1 deletions

View File

@@ -259,13 +259,21 @@ export default class Module {
}
/**
* Get the range rate for this module, taking in to account modifications
* Get the range for this module, taking in to account modifications
* @return {Number} the range rate of this module
*/
getRange() {
return this._getModifiedValue('range');
}
/**
* Get the range (in terms of seconds, for FSDI) for this module, taking in to account modifications
* @return {Number} the range of this module
*/
getRangeT() {
return this._getModifiedValue('ranget');
}
/**
* Get the capture arc for this module, taking in to account modifications
* @return {Number} the capture arc of this module
@@ -471,4 +479,12 @@ export default class Module {
getRoF() {
return this._getModifiedValue('rof');
}
/**
* Get the facing limit for this module, taking in to account modifications
* @return {Number} the facing limit for this module
*/
getFacingLimit() {
return this._getModifiedValue('facinglimit');
}
}