Im having trouble making walls for a maze game. I tried using color but it isn't working. I tried a lot of things seen on this site. It keeps saying that it "can not find variable - BLACK"
1 2 3 4 5 6 7 8 9 10 11 | public boolean hitWalls() { if (isTouching(Color(BLACK))) { return true ; } else { return false ; } } |