Advertisement
yepp

Untitled

Apr 8th, 2012
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. while (v[gen.X, gen.Y].fekete || ((gen.X > 0 && v[gen.X - 1, gen.Y].fekete) || (gen.X > 1 && v[gen.X - 2, gen.Y].fekete) || (gen.X < meret - 1 && v[gen.X + 1, gen.Y].fekete) || (gen.X < meret - 2 && v[gen.X + 2, gen.Y].fekete) || (gen.Y > 0 && v[gen.X, gen.Y - 1].fekete) || (gen.Y > 1 && v[gen.X, gen.Y - 2].fekete) || (gen.Y < meret - 1 && v[gen.X, gen.Y + 1].fekete) || (gen.Y < meret - 2 && v[gen.X, gen.Y + 2].fekete))) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement