Oh come on!
If X = 0, prevent movement to the left.
If Y = 0, prevent movement upwards.
If X = ArraySize - 1, prevent movement to the right.
If Y = ArraySize - 1, prevent movement downwards.
Easy peasy!
Ryan
If X = 0, prevent movement to the left.
If Y = 0, prevent movement upwards.
If X = ArraySize - 1, prevent movement to the right.
If Y = ArraySize - 1, prevent movement downwards.
Easy peasy!
Ryan