3
int Bucket::clicked (int x, int y) {
4
return (x > 0 && y > 0 && x < width && y < height);
8
if (game.grabbed != game.BUCKET) ui.draw(picture, 0, 0);
11
void Bucket::load_pix() {
12
picture.load("bucket");
13
cursor.load("bucket", cursor.OWN_MASK);
14
width = picture.width;
15
height = picture.height;