public bool update(GameTime gtime, Rectangle playerRect) { moves.update(); area = new Rectangle((int)location.X, (int)location.Y, texture.Width, texture.Height); return(IntersectPixels(area, PoliceTextureData, playerRect, HackerTextureData)); }
public void update(GameTime gtime) { moves.update(); area = new Rectangle((int)location.X, (int)location.Y, texture.Width, texture.Height); }