-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Changed Turtle class to be public instead of default
- Loading branch information
Rafael Grigorian
committed
Mar 22, 2018
1 parent
2241bc8
commit 711f885
Showing
5 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* This class stores a 4 by 2 pixel matrix that is eventually translated into a braille character. | ||
* This method abstracts away all the calculations that is needed to transform a matrix into a | ||
* braille character. This class is meant to be used as a sub-matrix. | ||
* @version 1.0.0 | ||
* @version 1.0.1 | ||
* @package io.raffi.drawille | ||
* @author Rafael Grigorian <[email protected]> | ||
* @copyright 2018 Rafael Grigorian — All Rights Reserved | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/** | ||
* This class is used to hold all the BrailleMap objects and uses them as sub-matrices. It is an | ||
* abstraction of a pixel screen. Methods to interact with those pixels can be found in this class. | ||
* @version 1.0.0 | ||
* @version 1.0.1 | ||
* @package io.raffi.drawille | ||
* @author Rafael Grigorian <[email protected]> | ||
* @copyright 2018 Rafael Grigorian — All Rights Reserved | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* This class inherits from the RuntimeException class. It is meant to be thrown whenever an out of | ||
* range value is passed to the Canvas and BrailleMap class. The message is statically defined in | ||
* this class and the caller only has to pass in the out of bounds (x,y) value pairs. | ||
* @version 1.0.0 | ||
* @version 1.0.1 | ||
* @package io.raffi.drawille | ||
* @author Rafael Grigorian <[email protected]> | ||
* @copyright 2018 Rafael Grigorian — All Rights Reserved | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,13 @@ | |
* This class inherits from the Canvas class and it tries to implement turtle graphics. The methods | ||
* in this class can be abstracted with an idea of a pen and paper. One can move the pen in three | ||
* axis and based on the z axis, when the pen moves it either draws on the paper or not. | ||
* @version 1.0.0 | ||
* @version 1.0.1 | ||
* @package io.raffi.drawille | ||
* @author Rafael Grigorian <[email protected]> | ||
* @copyright 2018 Rafael Grigorian — All Rights Reserved | ||
* @license MIT License | ||
*/ | ||
class Turtle extends Canvas { | ||
public class Turtle extends Canvas { | ||
|
||
/** | ||
* @param Double x Horizontal coordinate | ||
|
@@ -149,4 +149,4 @@ public void move ( double x, double y ) { | |
this.y = y; | ||
} | ||
|
||
} | ||
} |