alice-teacher Alice 3 NetBeans Do-Together code issue
Don Slater
djslater107 at gmail.com
Fri May 10 13:52:08 EDT 2024
Carlos,
We may need more context, as the code snippet that you showed that does not work you have inside of a set of braces, and the code that you dragged in is not enclosed in the braces. I do not understand why that should make a difference, but perhaps if you sent us the project we may have a clearer understanding of what is going on.
Thank you,
Don Slater
For the Alice Project
> On May 10, 2024, at 12:35 PM, Carlos Bovell via alice-teachers <alice-teachers at lists.andrew.cmu.edu> wrote:
>
> {
> doTogether(() -> {
> this.dolphin.turn(TurnDirection.LEFT, 2.0);
> }, () -> {
> this.dolphin2.turn(TurnDirection.LEFT, 2.0);
> }, () -> {
> this.dolphin3.turn(TurnDirection.LEFT, 2.0);
> }, () -> {
> this.dolphin4.turn(TurnDirection.LEFT, 2.0);
> });
> }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20240510/874f5e7a/attachment.html>
More information about the alice-teachers
mailing list