Inherits IRect.
Public Member Functions | |
Rect (string& ini_str) | |
Rect (string& ini_str, int x_off, int y_off) | |
Rect (Rect@ rect, int x_off, int y_off) | |
Rect (int x1, int y1, int x2, int y2) | |
bool | IsInside (int x, int y) |
int | H () |
int | W () |
Rect (uint x1, uint y1, uint x2, uint y2) | |
bool | IsWithin (Critter& cr) |
Public Attributes | |
int | X1 |
int | Y1 |
int | X2 |
int | Y2 |
uint | x1 |
uint | y1 |
uint | x2 |
uint | y2 |
Rect | ( | int | x1, | |
int | y1, | |||
int | x2, | |||
int | y2 | |||
) |
Rect | ( | uint | x1, | |
uint | y1, | |||
uint | x2, | |||
uint | y2 | |||
) |
bool IsInside | ( | int | x, | |
int | y | |||
) |
int H | ( | ) |
int W | ( | ) |
int X1 |
int Y1 |
int X2 |
int Y2 |
uint x1 |
uint y1 |
uint x2 |
uint y2 |