public void Update(GameTime gameTime)
{
//Direction 1 = from the top, 2 = from the left, 3 = from the right, 4 = from the bottom;
if(direction == 1)
{
pos.Y = pos.Y + speed;
}
if (direction == 2)
{
pos.X = pos.X + speed;
}
if (direction == 3)
{
pos.X = pos.X - speed;
}
if (direction == 4)
{
pos.Y = pos.Y - speed;
}
hitBox = new Rectangle((int)pos.X, (int)pos.Y, texture.Width, texture.Height);
}