mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
Added facing limit and range for fsdi
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user