Coding when sleepy causes some frustrations
I have always enjoyed coding till late at night, but today, a little part of my code had me totally pissed for the mistake that i was making.
public ColorRectangle(int red, int green, int blue)
{
red = this.red;
green = this.green ;
blue = this.blue ;
}
this, along with the sudden mood of eclipse to not compile my program due to some unknown error that got solved all by itself after a computer reboot, had me busy for quite some time. In the end, both problems were solved and I was able to make my color picking menu:
Previously, it looked really cool due to some unknown paint glitch in my code. all the colors appeared to be in a shade which gave a cool 3D feeling. anyway, the menu is running, which is good enough for me, for now. On to making the menu navigation...