Skip to content

Commit 53294ef

Browse files
committed
Updates to instruction
1 parent 674ba16 commit 53294ef

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

assignments/prototypes.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
In this file you will be creating three constructor functions: GameObject, CharacterStats, Humanoid.
55
6-
At the bottom of this file are 3 objects that all inherit from Humanoid. Use the objects at the bottom of the page to test your constructor functions.
6+
At the bottom of this file are 3 objects that all end up inheriting from Humanoid. Use the objects at the bottom of the page to test your constructor functions.
77
88
Each constructor function has unique properites and methods that are defined in their block comments below:
99
*/
@@ -12,7 +12,7 @@
1212
=== GameObject ===
1313
* createdAt
1414
* dimensions
15-
* destroy() // prototype method -> returns the string 'Object was removed from the game.'
15+
* destroy() // prototype method -> returns the string: 'Object was removed from the game.'
1616
*/
1717

1818
/*
@@ -34,12 +34,12 @@
3434
*/
3535

3636
/*
37-
* Inheritance chain: Humanoid -> CharacterStats -> GameObject
37+
* Inheritance chain: GameObject -> CharacterStats -> Humanoid
3838
* Instances of Humanoid should have all of the same properties as CharacterStats and GameObject.
3939
* Instances of CharacterStats should have all of the same properties as GameObject.
4040
*/
4141

42-
//Test you work by uncommenting these 3 objects and the list of console logs below:
42+
// Test you work by uncommenting these 3 objects and the list of console logs below:
4343

4444
/*
4545
const mage = new Humanoid({

0 commit comments

Comments
 (0)