コード例 #1
0
 /// <summary>
 /// Алгоритм отрисовки кисти
 /// </summary>
 /// <param name="graphics"></param>
 /// <param name="gameTime"></param>
 /// <param name="position"></param>
 public override void AlgorithmDrawable(Graphics graphics, GameTime gameTime, Vector2 position)
 {
     Point p = position.ConvertToPoint();
     AlgorithmDrawable(graphics, gameTime, new Rectangle(p.X, p.Y, Texture.Width, Texture.Height));
 }