#include <binary_space.h>
Public Member Functions | |
BSpaceNode (int _tl_x, int _tl_y, int _width, int _height) | |
void | resize (int new_x, int new_y, int new_width, int new_height) |
Public Attributes | |
int | height |
int | width |
int | tl_x |
int | tl_y |
BSpaceNode * | left |
BSpaceNode * | right |
BINARY_SPACE.H
This file is part of ROGUELIKETHING.
ROGUELIKETHING is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ROGUELIKETHING is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ROGUELIKETHING. If not, see http://www.gnu.org/licenses/. The node class for the binary space tree.
BSpaceNode::BSpaceNode | ( | int | _tl_x, |
int | _tl_y, | ||
int | _width, | ||
int | _height | ||
) |
BINARY_SPACE.CPP
This file is part of ROGUELIKETHING.
ROGUELIKETHING is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ROGUELIKETHING is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ROGUELIKETHING. If not, see http://www.gnu.org/licenses/.