Skip to content

Commit

Permalink
Create propulsion_system.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 15, 2024
1 parent ad0c40a commit 109b057
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ftl_drive/drive.modules/propulsion_system.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { clamp } from '../drive.utils';

class PropulsionSystem {
constructor() {
this.type = 'warp_drive';
this.speed = 10;
}

async init() {
// Initialize the propulsion system
}

async propel(input) {
// Propel the spacecraft using warp drive
const output = [];
//...
return output;
}
}

export default PropulsionSystem;

0 comments on commit 109b057

Please sign in to comment.