-
Notifications
You must be signed in to change notification settings - Fork 0
Travel to Mars Example #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh-pages
Are you sure you want to change the base?
Conversation
stephsingler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please submit a clean pull request with just space travel to mars file. You have 3 other projects attached to this PR
stephsingler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please submit a clean pull request before i can grade. There are 4 files in this PR and there should only be one.
reneemeyer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments below. Please don't merge until you clean up this pull request. There are 4 changed files and there should only be one.
|
|
||
| } | ||
| missionStatement() { | ||
| return this.ability; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is almost correct, however it doesn't satisfy the tests, the ability is only returned if there is a crew member on the ship
| this.ship = ship; | ||
| } | ||
| enterShip(ship) { | ||
| this.ship = ship; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the crew member needs to be entered into the ship's crew
| return this.ship; | ||
| } | ||
| } | ||
| let mav = new Ship('Mars Ascent Vehicle', 'MAV', 'Ascend into low orbit'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const
| } | ||
| } | ||
| let mav = new Ship('Mars Ascent Vehicle', 'MAV', 'Ascend into low orbit'); | ||
| let hermes = new Ship('Hermes', 'Main Ship', 'Interplanetary Space Travel'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const
| mav.crew.push(1); | ||
|
|
||
| // Created new object of CrewMember for test purposes. | ||
| let crewMember1 = new CrewMember('Rick Martinez', 'pilot', 'chemistry'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const
Checkpoint Rubric
This is the rubric that your instructor will use to grade your checkpoints. Please do not edit.
Checkpoint 1
Checkpoint 2
Checkpoint 3