Skip to content

Commit 674ba16

Browse files
committed
Updates to readme
1 parent 7975fd3 commit 674ba16

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

assignments/prototypes.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
Object oriented design is commonly used in video games. For this part of the assignment
3-
you will be implementing several classes with their correct inheritance heirarchy.
2+
Object oriented design is commonly used in video games. For this part of the assignment you will be implementing several constructor functions with their correct inheritance heirarchy.
43
5-
In this file you will be creating three classes: GameObject, CharacterStats, Humanoid.
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 classes.
4+
In this file you will be creating three constructor functions: GameObject, CharacterStats, Humanoid.
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.
77
8-
Each class has unique properites and methods that are defined in their block comments below:
8+
Each constructor function has unique properites and methods that are defined in their block comments below:
99
*/
1010

1111
/*
@@ -105,6 +105,6 @@
105105
*/
106106

107107
// Stretch task:
108-
// * Create Villian and Hero classes that inherit from the Humanoid class.
108+
// * Create Villian and Hero constructor functions that inherit from the Humanoid constructor function.
109109
// * Give the Hero and Villians different methods that could be used to remove health points from objects which could result in destruction if health gets to 0 or drops below 0;
110110
// * Create two new objects, one a villian and one a hero and fight it out with methods!

0 commit comments

Comments
 (0)