Esempio n. 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));
     }
 }
Esempio n. 2
0
 public Zombo(ZomboType type, Alliance alliance, Point point) : base(EntityType.Zombo, point)
 {
     this.alliance = alliance;
     zomboType     = type;
     ColorControl.OverrideColorForZombo(this);
 }