Skip to content

Remove set, get, and changeBy functions - #34

Merged
Tymewalk merged 8 commits into
masterfrom
noSetGet
Mar 29, 2016
Merged

Tymewalk merged 8 commits into
masterfrom
noSetGet

Conversation

@Tymewalk

Copy link
Copy Markdown
Member

Removes set, changeBy, and get functions, except for:

  • Costumes, since those are handled specially
  • goTo (although this may also be removed)

For fixing #30.

Removes set, changeBy, and get functions, except for:
 - Costumes, since those are handled specially
 - goTo (although this may also be removed)
@BookOwl

BookOwl commented Mar 28, 2016

Copy link
Copy Markdown
Member

I think that we should keep goTo (but can we please rename it goto?)

@Tymewalk

Copy link
Copy Markdown
Member Author

@BookOwl Sure.

@BookOwl

BookOwl commented Mar 28, 2016

Copy link
Copy Markdown
Member

Ok. I just have always seen it spelled that way.

Fixes the tests to use the new syntax.
which means that the sprite list will be automatically be reordered when
a sprites zindex is changed.
@BookOwl

BookOwl commented Mar 28, 2016

Copy link
Copy Markdown
Member

Should we remove the get/set functions from Stage?

@Tymewalk

Copy link
Copy Markdown
Member Author

@BookOwl Which ones?

@Tymewalk

Copy link
Copy Markdown
Member Author

Oh, never mind, you mean setColor and getCostumeNumber and getCostumeName.
Sure, I'll remove those.

The only thing that has to stay is costumes because those get handled specially with a bunch of magic I wrote a couple of weeks ago.

@BookOwl

BookOwl commented Mar 29, 2016

Copy link
Copy Markdown
Member

Oh, never mind, you mean setColor and getCostumeNumber and getCostumeName.
Sure, I'll remove those.

Great!

The only thing that has to stay is costumes because those get handled specially with a bunch of magic I wrote a couple of weeks ago.

We actually could get rid of those by using properties.

@Tymewalk

Copy link
Copy Markdown
Member Author

We could actually get rid of those by using properties.

OK. But for now, I'm going to merge this to master and make a new pull request for that - I kinda mucked up this branch using the command-line

@Tymewalk
Tymewalk merged commit de8e6cb into master Mar 29, 2016
@Tymewalk
Tymewalk deleted the noSetGet branch March 29, 2016 19:25
@BookOwl

BookOwl commented Mar 29, 2016

Copy link
Copy Markdown
Member

Sounds good to me!

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