Changed Mass to grab from Settings Object
This commit is contained in:
@ -18,9 +18,9 @@ let Settings = {
|
||||
|
||||
function getMass(type){
|
||||
switch (type){
|
||||
case entityTypes.COMET: return 1400.0;
|
||||
case entityTypes.METERORITE_SMALL: return 500.0;
|
||||
case entityTypes.METERORITE_LARGE: return 1000.0;
|
||||
case entityTypes.COMET: return Settings.mass[entityTypes.COMET]
|
||||
case entityTypes.METERORITE_SMALL: return Settings.mass[entityTypes.METERORITE_SMALL];
|
||||
case entityTypes.METERORITE_LARGE: return Settings.mass[entityTypes.METERORITE_LARGE];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user