You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assignments/prototypes.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
In this file you will be creating three constructor functions: GameObject, CharacterStats, Humanoid.
5
5
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.
7
7
8
8
Each constructor function has unique properites and methods that are defined in their block comments below:
9
9
*/
@@ -12,7 +12,7 @@
12
12
=== GameObject ===
13
13
* createdAt
14
14
* 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.'
0 commit comments