Exemplo n.º 1
0
 public Game()
 {
     spt.image = Resources.hitler;
     spt.position = new Vector(0, GraphicsCore.Instance.buffer.Graphics.VisibleClipBounds.Height/2);
     Start();
     Vector v = new Vector(75,1.5f) + new Vector(100,1.5f);
 }
Exemplo n.º 2
0
 public Sprite(Bitmap _image, Vector _point)
 {
     image = _image;
     position = _point;
 }
Exemplo n.º 3
0
 public void DrawBitMap(Bitmap _bitmap, Vector _position)
 {
     PointF v = new PointF(_position.X,_position.Y);
     buffer.Graphics.DrawImage(_bitmap,v);
 }