Skip to content

Conversation

@benjamin-hodgson
Copy link

Coders can define a void see_new_friend(ColorLabel friendship_color)
which will be called when a friend enters the room. You can switch on
the friendship_color to behave differently depending on the friend's
group.

  • Moved the ColorLabel enum into Jewelbots_src
  • Rewrote the loop in save_arduino_colors
  • Renamed some variables:
    • arduino_colors -> visible_friends
    • save_arduino_colors -> save_visible_friends
    • renamed locals in save_visible_friends

Coders can define a `void see_new_friend(ColorLabel friendship_color)`
which will be called when a friend enters the room. You can switch on
the friendship_color to behave differently depending on the friend's
group.

* Moved the ColorLabel enum into Jewelbots_src
* Rewrote the loop in save_arduino_colors
* Renamed some variables:
  * arduino_colors -> visible_friends
  * save_arduino_colors -> save_visible_friends
  * renamed locals in save_visible_friends
@benjamin-hodgson
Copy link
Author

@SaraJo, did you want to rename ColorLabel to ColorName while we're at it? It's backwards incompatible, someone might have mentioned ColorLabel by name in their code.

@benjamin-hodgson
Copy link
Author

ps you might wanna double-check this actually works, I think I got everything we did but might have missed something.

@SaraJo
Copy link
Member

SaraJo commented Dec 22, 2018

Awesome, looking at it this week, don't want to release right before holidays! Thanks for doing this!

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