public override void Draw(AnimationManager animMan, Graphics g)
 {
     if (Points == null)
     {
         return;
     }
     if (Brush != null)
     {
         g.FillPolygon(Brush, Points);
     }
     if (Pen != null)
     {
         if (PenClosed)
         {
             g.DrawPolygon(Pen, Points);
         }
         else
         {
             g.DrawLines(Pen, Points);
         }
     }
 }
Esempio n. 2
0
 public abstract void Draw(AnimationManager animMan, Graphics g);
Esempio n. 3
0
 public virtual void Update(AnimationManager animMan)
 {
 }