Added the addTextFieldToPanel Method to remove duplicate code that is used to add a textField to a Panel. #TheRainbowSprenkles
51 lines of code changed in 1 file:
Added the parseCommand(String command) method to parse the given command and return the result of that parsing. Now, the Turtle Can move the specified number of pixel units. #TheRainbowSprenkles
21 lines of code changed in 1 file:
Added an actionListener to the myCommands TextField to move the Turtle pixel units specified in the command. The current Focus is on the FD command ( we will easily add the BK command too). #TheRainbowSprenkles
19 lines of code changed in 1 file:
Added turtlesMap, a map from context to TurtleFields. Also added contexts, a Queue
of contexts. #The RainbowSprenkles
6 lines of code changed in 1 file:
Added the returnVal field and its getter method to return the result of parsing a given command. #TheRainbowSprenkles
19 lines of code changed in 1 file:
Changed the parse method in FdParser.java to use the current context #TheRainbowSprenkles
1 lines of code changed in 1 file:
Changed the evaluate method in FD.java to return only the distance we need to move the Turtle for #TheRainbowSprenkles
4 lines of code changed in 1 file:
Added the TurtleContext class for Testing purposes. Can also be used to create
more contexts #TheRainbowSprenkles
27 lines of code changed in 1 file:
Oops. Only committed the one file before.
#TheRainbowSprenkles
18 lines of code changed in 3 files:
Recentered the turtle horizontally. The solution was to link TurtleField and Turtle variables for width and height.
#TheRainbowSprenkles
13 lines of code changed in 1 file:
changed "fd" to "FD" to test for the FD command #TheRainbowSprenkles
1 lines of code changed in 1 file:
added the fd_tester file to test for the fd command #TheRainbowSprenkles
1 lines of code changed in 1 file:
Added a new text field, increased window size, and cried a lot.
73 lines of code changed in 5 files:
Changed the author names for the Fd.java instruction #TheRainbowSprenkles
2 lines of code changed in 1 file:
Created the Fd Token in the token package. #TheRainbowSprenkles
15 lines of code changed in 1 file:
Created the Fd parser. Note that it is not yet well implemented #TheRainbowSprenkles
35 lines of code changed in 1 file:
Added Fd to the instruction.prop #TheRainbowSprenkles
1 lines of code changed in 1 file:
Added Fd.java, the forward instruction to the instruction package.
51 lines of code changed in 1 file:
Added JTextField for commands -> currently under makeSlider() just to experiment with different LayoutManagers.
I think we wanted this on the bottom of the GUI, right? Let me know, if otherwise.
Might want to experiment with JTextArea
#rainbowSprenkles
21 lines of code changed in 1 file:
Testing commit?
Added private JTextField for commands.
11 lines of code changed in 1 file:
First Import
2742 lines of code changed in 66 files: