Enum Problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Enum Problem

How can i access the Data in the Enums? I want to read the Orders like "DOWN" out of a file and then print the coordinates out. https://code.sololearn.com/cA34A9a1a191

9th Mar 2021, 5:10 PM
Manfred h
1 Answer
+ 1
The program is incomplete. Program class with the main entrypoint and PositionVector class are missing. I imagine you can do also as... Direction.DOWN.vector. .....
13th Mar 2021, 2:54 AM
David Ordás
David Ordás - avatar