public void Draw(Bitmap b, int x, int y, int frame,Direction dir) { Bmp.Draw(north[dir,frame].Image,b,x,y-(int)((PckImage.Width*PckImage.Scale)/2)); Bmp.Draw(south[dir,frame].Image,b,x,y); Bmp.Draw(east[dir,frame].Image,b,x+(int)((PckImage.Width*PckImage.Scale)/2),y-(int)((PckImage.Width*PckImage.Scale)/4)); Bmp.Draw(west[dir,frame].Image,b,x-(int)((PckImage.Width*PckImage.Scale)/2),y-(int)((PckImage.Width*PckImage.Scale)/4)); } #endif
public override void Draw(Graphics g, int x, int y) { images.Draw(g, x, y, 0, (Direction)direction); }