Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 public void update(GameTime gtime)
 {
     moves.update();
     area = new Rectangle((int)location.X, (int)location.Y, texture.Width, texture.Height);
 }