1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-21 08:57:38 +00:00

Expand IPocketAccess.getLight/setLight to use RGB colours

This allows us to restore the modem light to its original colour.
This commit is contained in:
SquidDev
2017-05-14 14:22:20 +01:00
parent 6426255bd4
commit a6b870dfbb
6 changed files with 34 additions and 25 deletions

View File

@@ -127,7 +127,7 @@ public interface ITurtleAccess
void setColour( int colour );
/**
* Set the colour of the turtle to a RGB number.
* Get the colour of this turtle as a RGB number.
*
* @return The colour this turtle is. This will be a RGB colour between {@code 0x000000} and {@code 0xFFFFFF} or
* -1 if it has no colour.