We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 071d2f7 commit b3c44d9Copy full SHA for b3c44d9
DungeonCrawl.ino
@@ -50,19 +50,16 @@ void Avatar() {
50
case MOVE: //avatar is being pulled to neighbor revert to path
51
state = Path0;
52
break;
53
- case RESET:
54
- state = ResetBroadcast0;
55
- break;
56
}
57
58
59
- if (buttonLongPressed()) {
60
61
- }
62
63
64
void AvatarMoving0() {
65
setValueSentOnFace(MOVE, heading); //tell neighbor avatar is moving here
+ setColorOnFace(AVATAR_COLOR, heading);
+ setColorOnFace(AVATAR_COLOR, (heading + 1) % 6);
+ setColorOnFace(AVATAR_COLOR, (heading + 5) % 6);
66
state = AvatarMoving;
67
68
0 commit comments