public void CheckBoundries(int scrnWidth, int scrnHeight)
{
//top
if (pos.Y <= 0)
{
pos.Y = scrnHeight - 1;
}
//bottom
if (pos.Y >= scrnHeight)
{
pos.Y = 0;
}
//left
if (pos.X <= 0)
{
pos.X = scrnWidth - 1;
}
//right
if (pos.X >= scrnWidth)
{
pos.X = 0;
}
}