public Draw ( Bitmap b, int x, int y, int frame, Direction dir ) : void | ||
b | Bitmap | |
x | int | |
y | int | |
frame | int | |
dir | Direction | |
return | void |
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
Type7File::Draw ( Graphics g, int x, int y, int frame, Direction dir ) : void |
public override void Draw(Graphics g, int x, int y) { images.Draw(g, x, y, 0, (Direction)direction); }