Skip to content

first commit - #2

Open
SirAndrewDillon wants to merge 3 commits into
masterfrom
andy-dillon
Open

SirAndrewDillon wants to merge 3 commits into
masterfrom
andy-dillon

Conversation

@SirAndrewDillon

Copy link
Copy Markdown
Owner

No description provided.

@SirAndrewDillon
SirAndrewDillon requested a review from Ian84Be May 8, 2019 19:22

@Ian84Be Ian84Be left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great job working through this.

Comment thread assignments/prototypes.js
* destroy() // prototype method that returns: `${this.name} was removed from the game.`
*/

function gameObject(features) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is a useful convention to always use CapitalCase when declaring Constructor functions. this has no effect on the way the code runs, but it provides an important visual cue that makes your code easier to read and understand to other developers and yourself.

function GameObject(features) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants