@Override
    public boolean click(MainView parent, int x, int y, int camx, int camy) {
        if (x >= this.x && x <= this.x + 200 && y >= this.y && y <= this.y + 300) {
            handleClick(parent, x - this.x, y - this.y);
            return true;
        }
        else if (coaster == null) {
            int[] pos = worldData.addTile(x, y, camx, camy, 1, selectedTrack);
            if (pos != null) {
                coaster = new SteelCoaster(pos[0], pos[1], pos[2]);
                coaster.addTrack(pos, selectedTrack);
            }
            return true;
        }
        else return false;
    }