Method
Parameters
Returns
bool
True if point is contained within or on rectangle boundary
DescriptionReturn true if the given point is contained within the rectangle, or on its boundary. Examplevoid Update() { if (lavaRect.Contains(playerPos)) { Burn(); } } |
|