[Cuis-dev] Character smalltalkUpArrow, smalltalkRightArrow

Hernán Wilkinson hernan.wilkinson at 10pines.com
Thu Feb 16 03:21:52 PST 2023


Hi Hilaire,
 that change was made by Juan. It is rare that you say that they are
reversed...
 I suggest waiting for him to understand the impact of the change.

Cheers
Hernan.

On Thu, Feb 16, 2023 at 7:53 AM Hilaire Fernandes via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi,
>
> Catching up with the Cuis changes for the Cuis book.
>
> Arrow keys needed in the SpaceWar game of the book to control one of the
> ship.
>
> upArrow and friends are gone from the Character class.
>
> In this class, I read now smalltalkUpArrow, smalltalkRightArrow, etc.
>
> When used in the game, I observe smalltalkUpArrow and smalltalkRightArrow
> are reversed:
>
> - when I press the up arrow of the keyboard, the ship turn right
>
> - when I press the right arrow the ship gets an engine thrust.
>
> I don't know if their numeric values can be safely reversed or if there is
> any other consideration, for example with VM events.
>
> Thanks
>
> Hilaire
>
> --
> GNU Dr. Geohttp://drgeo.euhttp://blog.drgeo.eu
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230216/b7f61b83/attachment.htm>


More information about the Cuis-dev mailing list