Пример #1
0
 static void SetPixelsFromDrawController()
 {
     // Console.WriteLine("new draw");
     foreach (var v in FullMap.modifiedPoints)
     {
         //   Console.WriteLine("setting " + v.ToString() + " to " + FullMap.GetAt(v).GetDrawingColor());
         image.SetPixel((uint)v.x, WindowSize - (uint)v.y, ColorControl.ColorAtPoint(v));
     }
 }
Пример #2
0
 public Zombo(ZomboType type, Alliance alliance, Point point) : base(EntityType.Zombo, point)
 {
     this.alliance = alliance;
     zomboType     = type;
     ColorControl.OverrideColorForZombo(this);
 }